mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
632606c724
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83572 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
218 B
LLVM
10 lines
218 B
LLVM
; RUN: llc < %s -march=arm -mattr=+thumb2 | FileCheck %s
|
|
|
|
define i32 @f6(i32 %a) {
|
|
; CHECK:f6
|
|
; CHECK: movw r0, #:lower16:65537123
|
|
; CHECK: movt r0, #:upper16:65537123
|
|
%tmp = add i32 0, 65537123
|
|
ret i32 %tmp
|
|
}
|