[llvm] 06cafd0 - [Go] Remove PopulateLTOPassManager binding after D123882

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 11:16:32 PDT 2022


Author: Fangrui Song
Date: 2022-04-19T11:16:27-07:00
New Revision: 06cafd045e7e3730c50edf60eb9a15c3cf700926

URL: https://github.com/llvm/llvm-project/commit/06cafd045e7e3730c50edf60eb9a15c3cf700926
DIFF: https://github.com/llvm/llvm-project/commit/06cafd045e7e3730c50edf60eb9a15c3cf700926.diff

LOG: [Go] Remove PopulateLTOPassManager binding after D123882

Added: 
    

Modified: 
    llvm/bindings/go/llvm/transforms_pmbuilder.go

Removed: 
    


################################################################################
diff  --git a/llvm/bindings/go/llvm/transforms_pmbuilder.go b/llvm/bindings/go/llvm/transforms_pmbuilder.go
index badd148c195da..383f7bb3ae7ba 100644
--- a/llvm/bindings/go/llvm/transforms_pmbuilder.go
+++ b/llvm/bindings/go/llvm/transforms_pmbuilder.go
@@ -43,10 +43,6 @@ func (pmb PassManagerBuilder) PopulateFunc(pm PassManager) {
 	C.LLVMPassManagerBuilderPopulateFunctionPassManager(pmb.C, pm.C)
 }
 
-func (pmb PassManagerBuilder) PopulateLTOPassManager(pm PassManager, internalize bool, runInliner bool) {
-	C.LLVMPassManagerBuilderPopulateLTOPassManager(pmb.C, pm.C, boolToLLVMBool(internalize), boolToLLVMBool(runInliner))
-}
-
 func (pmb PassManagerBuilder) Dispose() {
 	C.LLVMPassManagerBuilderDispose(pmb.C)
 }


        


More information about the llvm-commits mailing list