[llvm-branch-commits] [llvm-branch] r165113 - /llvm/branches/R600/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Tom Stellard
thomas.stellard at amd.com
Wed Oct 3 06:39:42 PDT 2012
Author: tstellar
Date: Wed Oct 3 08:39:42 2012
New Revision: 165113
URL: http://llvm.org/viewvc/llvm-project?rev=165113&view=rev
Log:
SI: Set the section in the Asm Printer before emitting program info
Modified:
llvm/branches/R600/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Modified: llvm/branches/R600/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp?rev=165113&r1=165112&r2=165113&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp Wed Oct 3 08:39:42 2012
@@ -43,10 +43,10 @@
MF.dump();
}
SetupMachineFunction(MF);
+ OutStreamer.SwitchSection(getObjFileLowering().getTextSection());
if (STM.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) {
EmitProgramInfo(MF);
}
- OutStreamer.SwitchSection(getObjFileLowering().getTextSection());
EmitFunctionBody();
return false;
}
More information about the llvm-branch-commits
mailing list