mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 14:45:50 +00:00
1e81966626
matches what llvm-gcc and clang now produce. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106221 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
272 B
LLVM
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
|
|
}
|