From dd57417c08d3fbb52935b70cf14edef34535d045 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Nov 2010 02:43:46 +0000 Subject: [PATCH] remove some extraneous quotes to make the new instprinter match. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119104 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCAsmPrinter.cpp | 4 ++-- test/CodeGen/PowerPC/indirectbr.ll | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index c047af3e142..354b4cb5374 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -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 diff --git a/test/CodeGen/PowerPC/indirectbr.ll b/test/CodeGen/PowerPC/indirectbr.ll index ab8d9dca5dc..5122ab39d23 100644 --- a/test/CodeGen/PowerPC/indirectbr.ll +++ b/test/CodeGen/PowerPC/indirectbr.ll @@ -43,8 +43,8 @@ L2: ; preds = %L3, %bb2 L1: ; preds = %L2, %bb2 %res.3 = phi i32 [ %phitmp, %L2 ], [ 2, %bb2 ] ; [#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)