Skip to content

Commit e75bb34

Browse files
committed
remove some extraneous quotes to make the new instprinter match.
llvm-svn: 119104
1 parent cb7e3b3 commit e75bb34

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ namespace {
254254
if (Subtarget.isDarwin()) O << "ha16(";
255255
printOp(MI->getOperand(OpNo), O);
256256
if (TM.getRelocationModel() == Reloc::PIC_)
257-
O << "-\"L" << getFunctionNumber() << "$pb\"";
257+
O << "-L" << getFunctionNumber() << "$pb";
258258
if (Subtarget.isDarwin())
259259
O << ')';
260260
else
@@ -268,7 +268,7 @@ namespace {
268268
if (Subtarget.isDarwin()) O << "lo16(";
269269
printOp(MI->getOperand(OpNo), O);
270270
if (TM.getRelocationModel() == Reloc::PIC_)
271-
O << "-\"L" << getFunctionNumber() << "$pb\"";
271+
O << "-L" << getFunctionNumber() << "$pb";
272272
if (Subtarget.isDarwin())
273273
O << ')';
274274
else

llvm/test/CodeGen/PowerPC/indirectbr.ll

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ L2: ; preds = %L3, %bb2
4343

4444
L1: ; preds = %L2, %bb2
4545
%res.3 = phi i32 [ %phitmp, %L2 ], [ 2, %bb2 ] ; <i32> [#uses=1]
46-
; PIC: addis r4, r4, ha16(Ltmp0-"L0$pb")
47-
; PIC: li r6, lo16(Ltmp0-"L0$pb")
46+
; PIC: addis r4, r4, ha16(Ltmp0-L0$pb)
47+
; PIC: li r6, lo16(Ltmp0-L0$pb)
4848
; PIC: add r4, r4, r6
4949
; PIC: stw r4
5050
; STATIC: li r5, lo16(Ltmp0)

0 commit comments

Comments
 (0)