1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/CodeGen/Thumb2/thumb2-add3.ll
Daniel Dunbar 23337e07ce More spelling Count as count.
llvm-svn: 74306
2009-06-26 18:35:07 +00:00

9 lines
217 B
LLVM

; RUN: llvm-as < %s | llc | grep {addw\\W*r\[0-9\],\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#4095} | count 1
target triple = "thumbv7-apple-darwin"
define i32 @f1(i32 %a) {
%tmp = add i32 %a, 4095
ret i32 %tmp
}