diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2012-11-16 21:55:34 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2012-11-16 21:55:34 +0000 |
commit | e56764bad10621ac9dcf9d3541533ff2cb0f88b4 (patch) | |
tree | 72df90de99cb41cdf8322b12fe5da389f167006a /utils/TableGen/EDEmitter.cpp | |
parent | cdf493dd0b74fa8a784bd1ea690351e0f4b608ad (diff) | |
download | external_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 'utils/TableGen/EDEmitter.cpp')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index ea25450..428630e 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"); |