diff options
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcAsmPrinter.cpp | 2 | ||||
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.td | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcAsmPrinter.cpp b/lib/Target/Sparc/SparcAsmPrinter.cpp index f64bd7edda..ee01e74bf4 100644 --- a/lib/Target/Sparc/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/SparcAsmPrinter.cpp @@ -40,6 +40,8 @@ namespace { 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 diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index 7ace4e9f2b..02e1a00203 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -715,7 +715,6 @@ def : Pat<(V8lo tconstpool:$in), (ORri G0, tconstpool:$in)>; 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)>; |