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