commit | 977dfcefa1b139de56fd17e108b263e39e16504f | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Wed Apr 07 18:18:42 2010 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Wed Apr 07 18:18:42 2010 +0000 |
tree | 5a793ff4cf74d0c9f1683209d4a2d53defc2329e | |
parent | 7f893c0712a080470b8c0bb8e7e711c7650eb2bd [diff] [blame] |
Add hook to insert late LLVM=>LLVM passes just before isel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100640 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index ced6664..714ad73 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -268,6 +268,8 @@ PM.add(createStackProtectorPass(getTargetLowering())); + addPreISel(PM, OptLevel); + if (PrintISelInput) PM.add(createPrintFunctionPass("\n\n" "*** Final LLVM Code input to ISel ***\n",