mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
10 lines
192 B
LLVM
10 lines
192 B
LLVM
|
; RUN: llc < %s -march=arm -mattr=+thumb2 | FileCheck %s
|
||
|
|
||
|
define i32 @f6(i32 %a) {
|
||
|
; CHECK:f6
|
||
|
; CHECK: movw r0, #1123
|
||
|
; CHECK: movt r0, #1000
|
||
|
%tmp = add i32 0, 65537123
|
||
|
ret i32 %tmp
|
||
|
}
|