repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-sub5.ll
blob
e12d3e1c7fdd7c6dedd9b165e363e02ec8cc560f
1
; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2,+32bit %s -o - \
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
}