repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Generate 8.1-m CSINC, CSNEG and CSINV instructions.
[llvm-core.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-neg.ll
blob
bec609724876ab7f17eb534885541b25414e8b9b
1
; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
2
3
define i32 @f1(i32 %a) {
4
; CHECK-LABEL: f1:
5
; CHECK: rsbs r0, r0, #0
6
%tmp = sub i32 0, %a
7
ret i32 %tmp
8
}