[llvm-commits] [llvm-gcc-4.2] r50026 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Chris Lattner
sabre at nondot.org
Sun Apr 20 21:22:47 PDT 2008
Author: lattner
Date: Sun Apr 20 23:22:46 2008
New Revision: 50026
URL: http://llvm.org/viewvc/llvm-project?rev=50026&view=rev
Log:
Enable the jump threading pass, it causes no miscompilations in my testing
and significantly helps in some cases.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=50026&r1=50025&r2=50026&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Sun Apr 20 23:22:46 2008
@@ -368,6 +368,7 @@
PM->add(createTailDuplicationPass()); // Simplify cfg by copying code
PM->add(createInstructionCombiningPass()); // Cleanup for scalarrepl.
+ PM->add(createJumpThreadingPass()); // Thread jumps.
PM->add(createCFGSimplificationPass()); // Merge & remove BBs
PM->add(createScalarReplAggregatesPass()); // Break up aggregate allocas
PM->add(createInstructionCombiningPass()); // Combine silly seq's
More information about the llvm-commits
mailing list