projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d643ef
)
Mark ARM compare instructions as isCompare.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 11 Aug 2010 00:22:27 +0000
(
00:22
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 11 Aug 2010 00:22:27 +0000
(
00:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110761
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrInfo.td
b/lib/Target/ARM/ARMInstrInfo.td
index d7860dd24ae3be0daf64c33b6dd2aea0a9346e46..fa8bcb9db95f8971e959e598178b58ade3aafb5c 100644
(file)
--- a/
lib/Target/ARM/ARMInstrInfo.td
+++ b/
lib/Target/ARM/ARMInstrInfo.td
@@
-496,7
+496,7
@@
multiclass AI1_bin_s_irs<bits<4> opcod, string opc, PatFrag opnode,
/// AI1_cmp_irs - Defines a set of (op r, {so_imm|r|so_reg}) cmp / test
/// patterns. Similar to AsI1_bin_irs except the instruction does not produce
/// a explicit result, only implicitly set CPSR.
-let Defs = [CPSR] in {
+let
isCompare = 1,
Defs = [CPSR] in {
multiclass AI1_cmp_irs<bits<4> opcod, string opc, PatFrag opnode,
bit Commutable = 0> {
def ri : AI1<opcod, (outs), (ins GPR:$a, so_imm:$b), DPFrm, IIC_iCMPi,