llvm/llvm/test/CodeGen/AArch64/GlobalISel/inttoptr_add.ll

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=aarch64 -global-isel -verify-machineinstrs %s -o - | FileCheck %s

define dso_local void @fn() {
; CHECK-LABEL: fn:
; CHECK:       // %bb.0: // %entry
; CHECK-NEXT:    mov x8, #4132
; CHECK-NEXT:    mov w9, #1
; CHECK-NEXT:    movk x8, #65489, lsl #16
; CHECK-NEXT:    str w9, [x8]
; CHECK-NEXT:    ret
entry:
  store i32 1, ptr getelementptr inbounds (i8, ptr inttoptr (i32 -3076096 to ptr), i64 36), align 4
  ret void
}