[llvm-commits] [llvm-gcc-4.2] r110484 - /llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
Dan Gohman
gohman at apple.com
Fri Aug 6 15:47:59 PDT 2010
Author: djg
Date: Fri Aug 6 17:47:59 2010
New Revision: 110484
URL: http://llvm.org/viewvc/llvm-project?rev=110484&view=rev
Log:
Add createPromoteMemoryToRegisterPass to llvm-linker-hack.cpp, now
that mem2reg isn't pulled in implicitly through
PromoteMemoryToRegisterPassID.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp?rev=110484&r1=110483&r2=110484&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp Fri Aug 6 17:47:59 2010
@@ -89,6 +89,7 @@
llvm::createLoopDeletionPass();
llvm::createFunctionAttrsPass();
llvm::createPrintModulePass(0);
+ llvm::createPromoteMemoryToRegisterPass();
llvm::Type::getInt8Ty(llvm::getGlobalContext());
More information about the llvm-commits
mailing list