mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-16 17:01:43 +00:00
![David Goodwin](/assets/img/avatar_default.png)
Also, added a pattern for the thumb-2 MOV of shifted immediate since that can encode immediates not encodable by the 16-bit immediate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74288 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
205 B
LLVM
9 lines
205 B
LLVM
; RUN: llvm-as < %s | llc | grep {movw\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#65535} | Count 1
|
|
|
|
target triple = "thumbv7-apple-darwin"
|
|
|
|
define i32 @f6(i32 %a) {
|
|
%tmp = add i32 0, 65535
|
|
ret i32 %tmp
|
|
}
|