blob: acd58f23abcb778d82276ba5602229de7bbfec7b [file] [log] [blame]
David Goodwin2f6f1132009-07-27 16:31:55 +00001; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {lsr\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*\[0-9\]} | count 1
David Goodwin71ee46b2009-06-26 22:37:07 +00002
3define i32 @f1(i32 %a) {
4 %tmp = lshr i32 %a, 13
5 ret i32 %tmp
6}