From 1bcb258ba319c380b206c2ab7d9f8baaffcb2058 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 24 Apr 2018 00:39:29 +0000 Subject: [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 --- llvm/bindings/python/llvm/core.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/bindings/python') 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 -- cgit v1.2.3