summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/python
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-04-24 00:39:29 +0000
committerCraig Topper <craig.topper@intel.com>2018-04-24 00:39:29 +0000
commit1bcb258ba319c380b206c2ab7d9f8baaffcb2058 (patch)
treea37e3d3620a9977e669b37d8fb1bcf486189fee6 /llvm/bindings/python
parent8e807bf3fa4157ef16b314c1b0d0e5ddc2c3de88 (diff)
downloadbcm5719-llvm-1bcb258ba319c380b206c2ab7d9f8baaffcb2058.tar.gz
bcm5719-llvm-1bcb258ba319c380b206c2ab7d9f8baaffcb2058.zip
[AggressiveInstCombine] Add aggressive inst combiner to the LLVM C API.
I just tried to copy what was done for regular InstCombine. Hopefully I didn't miss anything. llvm-svn: 330668
Diffstat (limited to 'llvm/bindings/python')
-rw-r--r--llvm/bindings/python/llvm/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/bindings/python/llvm/core.py b/llvm/bindings/python/llvm/core.py
index 47e81dd1a4f..6b3da6d8679 100644
--- a/llvm/bindings/python/llvm/core.py
+++ b/llvm/bindings/python/llvm/core.py
@@ -456,6 +456,9 @@ def register_library(library):
library.LLVMInitializeInstCombine.argtypes = [PassRegistry]
library.LLVMInitializeInstCombine.restype = None
+ library.LLVMInitializeAggressiveInstCombiner.argtypes = [PassRegistry]
+ library.LLVMInitializeAggressiveInstCombiner.restype = None
+
library.LLVMInitializeIPO.argtypes = [PassRegistry]
library.LLVMInitializeIPO.restype = None
OpenPOWER on IntegriCloud