YouCompleteMe/cpp/llvm/test/CodeGen/Thumb2/2010-05-24-rsbs.ll

10 lines
272 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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
}