diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-24 17:46:13 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-24 17:46:13 +0000 |
commit | 5b81584f7403ffdb9cc6babaaeb0411c080e0f81 (patch) | |
tree | 6f24c77253dbee60cb277956807ca71d2ff707f7 /utils | |
parent | e234d02204e0e546c3555e7e894b8521d22a2121 (diff) | |
download | external_llvm-5b81584f7403ffdb9cc6babaaeb0411c080e0f81.zip external_llvm-5b81584f7403ffdb9cc6babaaeb0411c080e0f81.tar.gz external_llvm-5b81584f7403ffdb9cc6babaaeb0411c080e0f81.tar.bz2 |
Thumb1 ADD/SUB SP instructions are predicable in Thumb2 mode.
Add the predicate operand to the instructions. Update the back end
accordingly where the instructions are used. Restrict the SP operands
to actually only be SP, as otherwise these break assembly parsing for the
normal instruction variants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-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 37fb6ad..852b9bf 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -556,6 +556,7 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type, REG("GPR"); REG("rGPR"); REG("GPRnopc"); + REG("GPRsp"); REG("tcGPR"); REG("cc_out"); REG("s_cc_out"); |