Configure the asmwriter to allow constant pools to be printed correctly

llvm-svn: 24841
This commit is contained in:
Chris Lattner 2005-12-18 23:35:05 +00:00
parent 84a2caf581
commit d0e25175d3
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)>;