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