llvm.org GIT mirror llvm / 2edda52 test / CodeGen / Thumb2 / 2010-05-24-rsbs.ll
2edda52

Tree @2edda52 (Download .tar.gz)

2010-05-24-rsbs.ll @2edda52raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
; Radar 8017376: Missing 's' suffix for t2RSBS instructions.
; CHECK: rsbs

define i64 @test(i64 %x) nounwind readnone {
entry:
  %0 = sub nsw i64 1, %x                          ; <i64> [#uses=1]
  ret i64 %0
}