blob: e72d542b31f9ab4cbf178e63b74738eddf56259c [file] [log] [blame]
Bob Wilsonbb7ecb22010-05-24 18:44:06 +00001; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
2; Radar 8017376: Missing 's' suffix for t2RSBS instructions.
3; CHECK: rsbs
4
Rafael Espindola1e819662010-06-17 15:18:27 +00005define i64 @test(i64 %x) nounwind readnone {
Bob Wilsonbb7ecb22010-05-24 18:44:06 +00006entry:
7 %0 = sub nsw i64 1, %x ; <i64> [#uses=1]
8 ret i64 %0
9}