[llvm-branch-commits] [llvm-gcc-branch] r69143 - /llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Tue Apr 14 21:52:05 PDT 2009
Author: void
Date: Tue Apr 14 23:52:04 2009
New Revision: 69143
URL: http://llvm.org/viewvc/llvm-project?rev=69143&view=rev
Log:
--- Merging (from foreign repository) r69139 into '.':
U gcc/llvm-backend.cpp
Set the alignment too.
Modified:
llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp?rev=69143&r1=69142&r2=69143&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp Tue Apr 14 23:52:04 2009
@@ -1199,6 +1199,7 @@
GV->getName(), TheModule);
NGV->setVisibility(GV->getVisibility());
NGV->setSection(GV->getSection());
+ NGV->setAlignment(GV->getAlignment());
GV->replaceAllUsesWith(TheFolder->CreateBitCast(NGV, GV->getType()));
changeLLVMConstant(GV, NGV);
delete GV;
More information about the llvm-branch-commits
mailing list