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