aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
diff options
context:
space:
mode:
authorWeiming Zhao <weimingz@codeaurora.org>2012-11-16 21:55:34 +0000
committerWeiming Zhao <weimingz@codeaurora.org>2012-11-16 21:55:34 +0000
commite56764bad10621ac9dcf9d3541533ff2cb0f88b4 (patch)
tree72df90de99cb41cdf8322b12fe5da389f167006a /lib/Target/ARM/InstPrinter/ARMInstPrinter.h
parentcdf493dd0b74fa8a784bd1ea690351e0f4b608ad (diff)
downloadexternal_llvm-e56764bad10621ac9dcf9d3541533ff2cb0f88b4.zip
external_llvm-e56764bad10621ac9dcf9d3541533ff2cb0f88b4.tar.gz
external_llvm-e56764bad10621ac9dcf9d3541533ff2cb0f88b4.tar.bz2
Remove hard coded registers in ARM ldrexd and strexd instructions
This patch replaces the hard coded GPR pair [R0, R1] of Intrinsic:arm_ldrexd and [R2, R3] of Intrinsic:arm_strexd with even/odd GPRPair reg class. Similar to the lowering of atomic_64 operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/InstPrinter/ARMInstPrinter.h')
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
index b7bab5f..edff75d 100644
--- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
+++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
@@ -124,6 +124,7 @@ public:
void printNEONModImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printImmPlusOneOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printRotImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
+ void printGPRPairOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printPCLabel(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printThumbLdrLabelOperand(const MCInst *MI, unsigned OpNum,