1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/Thumb2/2010-05-24-rsbs.ll
Rafael Espindola d7a63bead9 Remove arm_apcscc from the test files. It is the default and doing this
matches what llvm-gcc and clang now produce.

llvm-svn: 106221
2010-06-17 15:18:27 +00:00

10 lines
272 B
LLVM

; 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
}