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
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
Thumb2
/
2010-05-24-rsbs.ll
blob
e72d542b31f9ab4cbf178e63b74738eddf56259c
1
; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
2
; Radar 8017376: Missing 's' suffix for t2RSBS instructions.
3
; CHECK: rsbs
4
5
define i64 @test(i64 %x) nounwind readnone {
6
entry:
7
%0 = sub nsw i64 1, %x ; <i64> [#uses=1]
8
ret i64 %0
9
}