blob: 8fab55ad712ac3e09e711097f6fe1e2546e3e5d2 [file] [log] [blame]
David Goodwinaf0d08d2009-07-27 16:31:55 +00001; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {subs\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\]} | count 1
David Goodwin8ba221d2009-06-29 22:25:22 +00002
3define i64 @f1(i64 %a, i64 %b) {
4 %tmp = sub i64 %a, %b
5 ret i64 %tmp
6}