diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-15 02:43:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-15 02:43:46 +0000 |
commit | e75bb3496323f1e1f86acf5522c499a1a54ff95f (patch) | |
tree | 7635e3ee99fd7ff4e63c230362fb441d488a4d35 | |
parent | cb7e3b35055703d089fd01a5b39849ec857a25b8 (diff) | |
download | bcm5719-llvm-e75bb3496323f1e1f86acf5522c499a1a54ff95f.tar.gz bcm5719-llvm-e75bb3496323f1e1f86acf5522c499a1a54ff95f.zip |
remove some extraneous quotes to make the new instprinter match.
llvm-svn: 119104
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/PowerPC/indirectbr.ll | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp index c047af3e142..354b4cb5374 100644 --- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/llvm/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/llvm/test/CodeGen/PowerPC/indirectbr.ll b/llvm/test/CodeGen/PowerPC/indirectbr.ll index ab8d9dca5dc..5122ab39d23 100644 --- a/llvm/test/CodeGen/PowerPC/indirectbr.ll +++ b/llvm/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 ] ; <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) |