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:
9e6f09d
)
[ARM] Add Thumb-2 code size optimization regression test for EOR.
author
Tilmann Scheller
<t.scheller@samsung.com>
Mon, 1 Sep 2014 12:59:34 +0000
(12:59 +0000)
committer
Tilmann Scheller
<t.scheller@samsung.com>
Mon, 1 Sep 2014 12:59:34 +0000
(12:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216881
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/ARM/thumb2-size-opt.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/ARM/thumb2-size-opt.ll
b/test/CodeGen/ARM/thumb2-size-opt.ll
index 532c3d348fc60f08da3d24dbf0abfcbc0208f8a0..62938c61efde95e96bbd73be6a467903d345672a 100644
(file)
--- a/
test/CodeGen/ARM/thumb2-size-opt.ll
+++ b/
test/CodeGen/ARM/thumb2-size-opt.ll
@@
-37,3
+37,12
@@
entry:
%and = and i32 %neg, %a
ret i32 %and
}
+
+define i32 @eor(i32 %a, i32 %b) nounwind readnone {
+; CHECK-LABEL: eor:
+; CHECK: eor.w r{{[0-9]+}}, r{{[0-9]+}}, r{{[0-9]+}} @ encoding: [{{0x..,0x..,0x..,0x..}}]
+; CHECK-OPT: eors r{{[0-7]}}, r{{[0-7]}} @ encoding: [{{0x..,0x..}}]
+entry:
+ %eor = xor i32 %a, %b
+ ret i32 %eor
+}