[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp SparcV8InstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Sun Dec 18 15:35:17 PST 2005
Changes in directory llvm/lib/Target/SparcV8:
SparcV8AsmPrinter.cpp updated: 1.47 -> 1.48
SparcV8InstrInfo.td updated: 1.85 -> 1.86
---
Log message:
Configure the asmwriter to allow constant pools to be printed correctly
---
Diffs of the changes: (+2 -1)
SparcV8AsmPrinter.cpp | 2 ++
SparcV8InstrInfo.td | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp:1.47 llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp:1.48
--- llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp:1.47 Sat Dec 17 20:37:35 2005
+++ llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp Sun Dec 18 17:35:05 2005
@@ -40,6 +40,8 @@
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = "\t.xword\t";
ZeroDirective = 0; // no .zero or .space!
+ CommentString = "!";
+ ConstantPoolSection = "\t.section \".rodata\",#alloc\n";
}
/// We name each basic block in a Function with a unique number, so
Index: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
diff -u llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.85 llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.86
--- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.85 Sun Dec 18 17:18:37 2005
+++ llvm/lib/Target/SparcV8/SparcV8InstrInfo.td Sun Dec 18 17:35:05 2005
@@ -715,7 +715,6 @@
def : Pat<(retflag ICC/*HACK*/), (RETL)>;
// Map integer extload's to zextloads.
-// Handling 1 bit extload
def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;
def : Pat<(i32 (extload ADDRri:$src, i1)), (LDUBri ADDRri:$src)>;
def : Pat<(i32 (extload ADDRrr:$src, i8)), (LDUBrr ADDRrr:$src)>;
More information about the llvm-commits
mailing list