projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mips][msa] Fix suboptimal FrameIndex lowering for ld.[hwd] and st.[hwd]
[oota-llvm.git]
/
lib
/
Target
/
Sparc
/
SparcInstr64Bit.td
diff --git
a/lib/Target/Sparc/SparcInstr64Bit.td
b/lib/Target/Sparc/SparcInstr64Bit.td
index 51397d8fb319b8395e06562b76e73c7e4ad2620a..8656de5c8ba9e6fceb7c4d4dfe0402c025d83d5e 100644
(file)
--- a/
lib/Target/Sparc/SparcInstr64Bit.td
+++ b/
lib/Target/Sparc/SparcInstr64Bit.td
@@
-171,6
+171,12
@@
def : Pat<(SPcmpicc i64:$a, (i64 simm13:$b)), (CMPri $a, (as_i32imm $b))>;
def : Pat<(ctpop i64:$src), (POPCrr $src)>;
+// "LEA" form of add
+def LEAX_ADDri : F3_2<2, 0b000000,
+ (outs I64Regs:$dst), (ins MEMri:$addr),
+ "add ${addr:arith}, $dst",
+ [(set iPTR:$dst, ADDRri:$addr)]>;
+
} // Predicates = [Is64Bit]