[llvm-commits] [llvm] r119104 - in /llvm/trunk: lib/Target/PowerPC/PPCAsmPrinter.cpp test/CodeGen/PowerPC/indirectbr.ll
Chris Lattner
sabre at nondot.org
Sun Nov 14 18:43:46 PST 2010
Author: lattner
Date: Sun Nov 14 20:43:46 2010
New Revision: 119104
URL: http://llvm.org/viewvc/llvm-project?rev=119104&view=rev
Log:
remove some extraneous quotes to make the new instprinter match.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll
Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp?rev=119104&r1=119103&r2=119104&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp Sun Nov 14 20:43:46 2010
@@ -254,7 +254,7 @@
if (Subtarget.isDarwin()) O << "ha16(";
printOp(MI->getOperand(OpNo), O);
if (TM.getRelocationModel() == Reloc::PIC_)
- O << "-\"L" << getFunctionNumber() << "$pb\"";
+ O << "-L" << getFunctionNumber() << "$pb";
if (Subtarget.isDarwin())
O << ')';
else
@@ -268,7 +268,7 @@
if (Subtarget.isDarwin()) O << "lo16(";
printOp(MI->getOperand(OpNo), O);
if (TM.getRelocationModel() == Reloc::PIC_)
- O << "-\"L" << getFunctionNumber() << "$pb\"";
+ O << "-L" << getFunctionNumber() << "$pb";
if (Subtarget.isDarwin())
O << ')';
else
Modified: llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll?rev=119104&r1=119103&r2=119104&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll Sun Nov 14 20:43:46 2010
@@ -43,8 +43,8 @@
L1: ; preds = %L2, %bb2
%res.3 = phi i32 [ %phitmp, %L2 ], [ 2, %bb2 ] ; <i32> [#uses=1]
-; PIC: addis r4, r4, ha16(Ltmp0-"L0$pb")
-; PIC: li r6, lo16(Ltmp0-"L0$pb")
+; PIC: addis r4, r4, ha16(Ltmp0-L0$pb)
+; PIC: li r6, lo16(Ltmp0-L0$pb)
; PIC: add r4, r4, r6
; PIC: stw r4
; STATIC: li r5, lo16(Ltmp0)
More information about the llvm-commits
mailing list