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