commit | 8c64b9766e654079339ea7f3a2da152f18d00179 | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Sat Jul 24 20:48:54 2010 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Sat Jul 24 20:48:54 2010 +0000 |
tree | d62766e7cee631cf10aa71a3322e6aa26bb5b0fc | |
parent | fee12b29851983ab536d46ed0fe85bddd665638a [diff] [blame] |
Add hook to insert late LLVM=>LLVM passes just before isel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109354 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index fd10241..98d49ad 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -307,6 +307,8 @@ PM.add(createStackProtectorPass(getTargetLowering())); + addPreISel(PM, OptLevel); + if (PrintISelInput) PM.add(createPrintFunctionPass("\n\n" "*** Final LLVM Code input to ISel ***\n",