1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/ARM/t2-imm.ll
2009-10-08 20:43:22 +00:00

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
}