[LLVMdev] [PATCH] remove usage of RaiseAllocations pass from llvm-gcc

Victor Hernandez vhernandez at apple.com
Fri Oct 23 21:29:27 PDT 2009


After LLVM rev 84987, the RaiseAllocations pass no longer exists.

llvm-gcc needs to be patched:

Index: gcc/llvm-linker-hack.cpp
===================================================================
--- gcc/llvm-linker-hack.cpp	(revision 84984)
+++ gcc/llvm-linker-hack.cpp	(working copy)
@@ -80,7 +80,6 @@
    llvm::createJumpThreadingPass();
    llvm::createFunctionInliningPass();
    llvm::createAlwaysInlinerPass();
-  llvm::createRaiseAllocationsPass();
    llvm::createSimplifyLibCallsPass();
    llvm::createArgumentPromotionPass();
    llvm::createDeadArgEliminationPass();

-------------- next part --------------
A non-text attachment was scrubbed...
Name: RemoveRaiseAllocations.diff
Type: application/octet-stream
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091023/5b51e4f5/attachment.obj>
-------------- next part --------------


Unfortunately, I am not currently able to commit to llvm-gcc, so if  
someone can commit this patch, I'd appreciate it.

thanks,
Victor



More information about the llvm-dev mailing list