summaryrefslogtreecommitdiff
path: root/utils
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 /utils
parentcdf493dd0b74fa8a784bd1ea690351e0f4b608ad (diff)
downloadllvm-e56764bad10621ac9dcf9d3541533ff2cb0f88b4.tar.gz
llvm-e56764bad10621ac9dcf9d3541533ff2cb0f88b4.tar.bz2
llvm-e56764bad10621ac9dcf9d3541533ff2cb0f88b4.tar.xz
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 'utils')
-rw-r--r--utils/TableGen/EDEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp
index ea2545050b..428630edc9 100644
--- a/utils/TableGen/EDEmitter.cpp
+++ b/utils/TableGen/EDEmitter.cpp
@@ -581,6 +581,7 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type,
REG("cc_out");
REG("s_cc_out");
REG("tGPR");
+ REG("GPRPairOp");
REG("DPR");
REG("DPR_VFP2");
REG("DPR_8");