1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mtriple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=CHECK
3
4define i64* @inttoptr_p0_s64(i64 %val) {
5; CHECK-LABEL: inttoptr_p0_s64:
6; CHECK:       # %bb.0: # %entry
7; CHECK-NEXT:    movq %rdi, %rax
8; CHECK-NEXT:    retq
9entry:
10  %0 = inttoptr i64 %val to i64*
11  ret i64* %0
12}
13