| Bob Wilson | 3eb7691 | 2010-05-24 18:44:06 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s | 
| 2 | ; Radar 8017376: Missing 's' suffix for t2RSBS instructions. | ||||
| 3 | ; CHECK: rsbs | ||||
| 4 | |||||
| Rafael Espindola | 29dda21 | 2010-06-17 15:18:27 +0000 | [diff] [blame] | 5 | define i64 @test(i64 %x) nounwind readnone { | 
| Bob Wilson | 3eb7691 | 2010-05-24 18:44:06 +0000 | [diff] [blame] | 6 | entry: | 
| 7 | %0 = sub nsw i64 1, %x ; <i64> [#uses=1] | ||||
| 8 | ret i64 %0 | ||||
| 9 | } | ||||