mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-06 20:33:54 +00:00
10 lines
283 B
LLVM
10 lines
283 B
LLVM
|
; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
|
||
|
; Radar 8017376: Missing 's' suffix for t2RSBS instructions.
|
||
|
; CHECK: rsbs
|
||
|
|
||
|
define arm_apcscc i64 @test(i64 %x) nounwind readnone {
|
||
|
entry:
|
||
|
%0 = sub nsw i64 1, %x ; <i64> [#uses=1]
|
||
|
ret i64 %0
|
||
|
}
|