1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

remove some extraneous quotes to make the new instprinter match.

llvm-svn: 119104
This commit is contained in:
Chris Lattner 2010-11-15 02:43:46 +00:00
parent 11e50c531a
commit 7743db8f20
2 changed files with 4 additions and 4 deletions

View File

@ -254,7 +254,7 @@ namespace {
if (Subtarget.isDarwin()) O << "ha16("; if (Subtarget.isDarwin()) O << "ha16(";
printOp(MI->getOperand(OpNo), O); printOp(MI->getOperand(OpNo), O);
if (TM.getRelocationModel() == Reloc::PIC_) if (TM.getRelocationModel() == Reloc::PIC_)
O << "-\"L" << getFunctionNumber() << "$pb\""; O << "-L" << getFunctionNumber() << "$pb";
if (Subtarget.isDarwin()) if (Subtarget.isDarwin())
O << ')'; O << ')';
else else
@ -268,7 +268,7 @@ namespace {
if (Subtarget.isDarwin()) O << "lo16("; if (Subtarget.isDarwin()) O << "lo16(";
printOp(MI->getOperand(OpNo), O); printOp(MI->getOperand(OpNo), O);
if (TM.getRelocationModel() == Reloc::PIC_) if (TM.getRelocationModel() == Reloc::PIC_)
O << "-\"L" << getFunctionNumber() << "$pb\""; O << "-L" << getFunctionNumber() << "$pb";
if (Subtarget.isDarwin()) if (Subtarget.isDarwin())
O << ')'; O << ')';
else else

View File

@ -43,8 +43,8 @@ L2: ; preds = %L3, %bb2
L1: ; preds = %L2, %bb2 L1: ; preds = %L2, %bb2
%res.3 = phi i32 [ %phitmp, %L2 ], [ 2, %bb2 ] ; <i32> [#uses=1] %res.3 = phi i32 [ %phitmp, %L2 ], [ 2, %bb2 ] ; <i32> [#uses=1]
; PIC: addis r4, r4, ha16(Ltmp0-"L0$pb") ; PIC: addis r4, r4, ha16(Ltmp0-L0$pb)
; PIC: li r6, lo16(Ltmp0-"L0$pb") ; PIC: li r6, lo16(Ltmp0-L0$pb)
; PIC: add r4, r4, r6 ; PIC: add r4, r4, r6
; PIC: stw r4 ; PIC: stw r4
; STATIC: li r5, lo16(Ltmp0) ; STATIC: li r5, lo16(Ltmp0)