aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/t2-imm.ll
blob: 8b4145914e7caaba4eb695fc3a009376940babe7 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=thumb -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
}