projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Currently there is a pattern for the thumb-2 MOV 16-bit immediate instruction. That...
[oota-llvm.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-mov4.ll
1
; RUN: llvm-as < %s | llc | grep {movw\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#65535} | Count 1
2
3
target triple = "thumbv7-apple-darwin"
4
5
define i32 @f6(i32 %a) {
6
%tmp = add i32 0, 65535
7
ret i32 %tmp
8
}