brintos

brintos / llvm-project-archived public Read only

0
0
Text · 411 B · 64daf4e Raw
13 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=CHECK3 4define ptr @inttoptr_p0_s64(i64 %val) {5; CHECK-LABEL: inttoptr_p0_s64:6; CHECK:       # %bb.0: # %entry7; CHECK-NEXT:    movq %rdi, %rax8; CHECK-NEXT:    retq9entry:10  %0 = inttoptr i64 %val to ptr11  ret ptr %012}13