remove some extraneous quotes to make the new instprinter match.
authorChris Lattner <sabre@nondot.org>
Mon, 15 Nov 2010 02:43:46 +0000 (02:43 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Nov 2010 02:43:46 +0000 (02:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119104 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCAsmPrinter.cpp
test/CodeGen/PowerPC/indirectbr.ll

index c047af3e142ff6d06fcf92997e6fd121ed6c81aa..354b4cb5374153b4e82303c55deb952477bd01f0 100644 (file)
@@ -254,7 +254,7 @@ namespace {
         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 @@ namespace {
         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
index ab8d9dca5dc4470b93c125ab1a35f51c174945fc..5122ab39d23231e7aa9d8019a9d275793ba7b207 100644 (file)
@@ -43,8 +43,8 @@ L2:                                               ; preds = %L3, %bb2
 
 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)