ruby-llvm 18.1.3 → 18.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67a728c4318fe7c347dfc1d85e626c0c93c29011f329638585b8eac584cf0aff
4
- data.tar.gz: 62e72a80da04ec235acc44fd6ef7027d3903e1b47ef59edc7e36e63b92a69296
3
+ metadata.gz: bc153f553bc0dc073dbde51a5a333cff17b7f174259088de7f963f6a8f521007
4
+ data.tar.gz: e3d9d96fdcd670e05cdc7cbf0d43cb3ac753370df85d57b74874115abb2fac5a
5
5
  SHA512:
6
- metadata.gz: 504c7b62dac6dbd58b072f53fc2a817b33ef6ac43a9234687c7f60ab62d29a1c9f4682cda8e0432aa96809989858c6028e5addb916997244283f249244e8b31c
7
- data.tar.gz: 03a43636eeea68eb6a279a8f91d794704b8a572bb64b34baed9718778942863e461ae11d44107859264ffd6ede8d593217d3dab2eb8ebafb1bee4e9711122294
6
+ metadata.gz: 60e93ebe09eb7551746ff450671a33a5f7185f39d398d7f1751807049155fe41290b35f50a9adecd4a063144e625002d18f3d724730cefebd2e24b694424a76a
7
+ data.tar.gz: 2b6aad6e0790ce7c7c67b34c4adb564f05014419c69b05b7672647aee40c09734d3fd5b9d0935c6aec4e5b1f7984c0a37e3a6f5cd1d453a529ce87a0277cec00
data/README.md CHANGED
@@ -14,7 +14,7 @@ computationally intensive algorithms on the fly.
14
14
  Current version
15
15
  ---------------
16
16
 
17
- This library currently binds to LLVM-17 (specifically llvm-c 17).
17
+ This library currently binds to LLVM-18 (specifically llvm-c 18.
18
18
 
19
19
  About version numbers
20
20
  ---------------------
@@ -403,6 +403,17 @@ module LLVM
403
403
  add_pass('always-inline')
404
404
  end
405
405
 
406
+ # This pass performs partial inlining, typically by inlining an if statement
407
+ # that surrounds the body of the function.
408
+ # https://llvm.org/doxygen/PartialInlining_8h_source.html
409
+ # https://llvm.org/doxygen/PartialInlining_8cpp_source.html
410
+ # https://llvm.org/doxygen/PartialInlining_8h.html
411
+ # https://llvm.org/doxygen/PartialInlining_8cpp.html
412
+ # @return self
413
+ def partial_inliner!
414
+ add_pass('partial-inliner')
415
+ end
416
+
406
417
  # This pass looks for equivalent functions that are mergable and folds them.
407
418
  # https://llvm.org/docs/MergeFunctions.html
408
419
  # https://llvm.org/doxygen/MergeFunctions_8cpp_source.html
data/lib/llvm/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module LLVM
4
4
  LLVM_VERSION = "18"
5
- LLVM_REQUIRED_VERSION = "18.1.3"
6
- RUBY_LLVM_VERSION = "18.1.3"
5
+ LLVM_REQUIRED_VERSION = "18.1.4"
6
+ RUBY_LLVM_VERSION = "18.1.4"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-llvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.1.3
4
+ version: 18.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Johnson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-04-06 00:00:00.000000000 Z
12
+ date: 2024-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi