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