diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-03-06 18:59:19 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-03-06 18:59:19 +0000 |
commit | bde1b2a5a8cef66f67513c9f4309b7fae798c679 (patch) | |
tree | fbe45d3be20b3e620e4e1c86e6a6f48744c09f91 /lib/Target/ARM/InstPrinter | |
parent | 14f87e01ca704b2916a4c0c5360f3d703c85806f (diff) | |
download | external_llvm-bde1b2a5a8cef66f67513c9f4309b7fae798c679.zip external_llvm-bde1b2a5a8cef66f67513c9f4309b7fae798c679.tar.gz external_llvm-bde1b2a5a8cef66f67513c9f4309b7fae798c679.tar.bz2 |
Tidy up. Kill some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/InstPrinter')
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 9 | ||||
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index bae4e78..590cf0e 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp @@ -1025,15 +1025,6 @@ void ARMInstPrinter::printVectorListOne(const MCInst *MI, unsigned OpNum, O << "{" << getRegisterName(MI->getOperand(OpNum).getReg()) << "}"; } -void ARMInstPrinter::printVectorListTwo(const MCInst *MI, unsigned OpNum, - raw_ostream &O) { - // Normally, it's not safe to use register enum values directly with - // addition to get the next register, but for VFP registers, the - // sort order is guaranteed because they're all of the form D<n>. - O << "{" << getRegisterName(MI->getOperand(OpNum).getReg()) << ", " - << getRegisterName(MI->getOperand(OpNum).getReg() + 1) << "}"; -} - void ARMInstPrinter::printVectorListDPair(const MCInst *MI, unsigned OpNum, raw_ostream &O) { unsigned Reg = MI->getOperand(OpNum).getReg(); diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h index 1037161..dc2dd45 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h @@ -133,7 +133,6 @@ public: void printFBits32(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printVectorIndex(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printVectorListOne(const MCInst *MI, unsigned OpNum, raw_ostream &O); - void printVectorListTwo(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printVectorListDPair(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printVectorListDPairSpaced(const MCInst *MI, unsigned OpNum, raw_ostream &O); |