blob: 9dd3efcacd58033e6da4ae4078979ae20da4450c [file] [log] [blame]
Daniel Dunbara720af12009-06-26 18:35:07 +00001; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {adds\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\]} | count 1
David Goodwin3bd42af2009-06-26 18:10:30 +00002
3define i64 @f1(i64 %a, i64 %b) {
4 %tmp = add i64 %a, %b
5 ret i64 %tmp
6}