ruby-llvm 18.1.3 → 18.1.5

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: 4e9f45f25c75b0a1262b73a5298756a31469a023759fe634ae5ee40037ad4367
4
+ data.tar.gz: ea6c4e237c1c3d23432782982c4e0480fda06db147dd63fb276235d11a80387f
5
5
  SHA512:
6
- metadata.gz: 504c7b62dac6dbd58b072f53fc2a817b33ef6ac43a9234687c7f60ab62d29a1c9f4682cda8e0432aa96809989858c6028e5addb916997244283f249244e8b31c
7
- data.tar.gz: 03a43636eeea68eb6a279a8f91d794704b8a572bb64b34baed9718778942863e461ae11d44107859264ffd6ede8d593217d3dab2eb8ebafb1bee4e9711122294
6
+ metadata.gz: 58605eee1c85b4a541622b84e9fbb63f881a11cc5d3ed33faeb7cd070fe20f2e437fdd222835c7644eb5148fb62536e4e5fa828cffadaae62bfc7e728ea54d80
7
+ data.tar.gz: 12ad942e51d3c79133b44a2da015d728c13c92455c8d60f050b2e833aa7e0967ac73c962fca1eb3d014a66db0bf98e52d887f63026821095c27108dd5be90346
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.5"
6
+ RUBY_LLVM_VERSION = "18.1.5"
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.5
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-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi