llvm.org GIT mirror llvm / b935031 test / CodeGen / ARM / t2-imm.ll
b935031

Tree @b935031 (Download .tar.gz)

t2-imm.ll @b935031raw · history · blame

1
2
3
4
5
6
7
8
9
; 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
}