mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
[ARM] Add Thumb-2 code size optimization regression test for EOR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216881 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e6f09d7ce
commit
4016a9ea4a
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user