blob: 8f938d579b837b98a8ee647859c285803fc873c3 [file] [log] [blame]
David Goodwin71ee46b2009-06-26 22:37:07 +00001; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {rsb\\W*r\[0-9\],\\W*r\[0-9\],\\W*#0} | count 1
2
3define i32 @f1(i32 %a) {
4 %tmp = sub i32 0, %a
5 ret i32 %tmp
6}