projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[AArch64 NEON] Fix invalid constant used in vselect condition.
[oota-llvm.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-sub5.ll
1
; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+32bit \
2
; RUN: | FileCheck %s
3
4
define i64 @f1(i64 %a, i64 %b) {
5
; CHECK-LABEL: f1:
6
; CHECK: subs.w r0, r0, r2
7
; To test dead_carry, +32bit prevents sbc conveting to 16-bit sbcs
8
; CHECK: sbc.w r1, r1, r3
9
%tmp = sub i64 %a, %b
10
ret i64 %tmp
11
}