blob: 9b75b407092a387bbecc63326289f925dc19d843 [file] [log] [blame]
David Goodwin2634e982009-06-26 18:10:30 +00001; RUN: llvm-as < %s | llc | grep {addw\\W*r\[0-9\],\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#4095} | Count 1
2
3target triple = "thumbv7-apple-darwin"
4
5define i32 @f1(i32 %a) {
6 %tmp = add i32 %a, 4095
7 ret i32 %tmp
8}