blob: e72d542b31f9ab4cbf178e63b74738eddf56259c [file] [log] [blame]
Bob Wilson3eb76912010-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 Espindola29dda212010-06-17 15:18:27 +00005define i64 @test(i64 %x) nounwind readnone {
Bob Wilson3eb76912010-05-24 18:44:06 +00006entry:
7 %0 = sub nsw i64 1, %x ; <i64> [#uses=1]
8 ret i64 %0
9}