[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Tue Oct 10 21:30:03 PDT 2006
Changes in directory llvm/lib/CodeGen:
AsmPrinter.cpp updated: 1.108 -> 1.109
---
Log message:
Jimptables working again on alpha.
As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff.
---
Diffs of the changes: (+1 -1)
AsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.108 llvm/lib/CodeGen/AsmPrinter.cpp:1.109
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.108 Fri Oct 6 17:50:56 2006
+++ llvm/lib/CodeGen/AsmPrinter.cpp Tue Oct 10 23:29:42 2006
@@ -204,7 +204,7 @@
TargetLowering *LoweringInfo = TM.getTargetLowering();
if (LoweringInfo && LoweringInfo->usesGlobalOffsetTable()) {
SwitchToDataSection(TAI->getJumpTableDataSection(), 0);
- if (TD->getPointerSize() == 8)
+ if (TD->getPointerSize() == 8 && !JTEntryDirective)
JTEntryDirective = TAI->getData64bitsDirective();
} else {
// In PIC mode, we need to emit the jump table to the same section as the
More information about the llvm-commits
mailing list