blob: 8d472cb110b8446fd51f5fdf4238b988db2ac6d3 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep {addw\\W*r\[0-9\],\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#4095} | count 1
David Goodwine5671072009-06-26 18:10:30 +00002
3define i32 @f1(i32 %a) {
4 %tmp = add i32 %a, 4095
5 ret i32 %tmp
6}