brintos

brintos / llvm-project-archived public Read only

0
0
Text · 396 B · 9e27e9a Raw
17 lines · plain
1;RUN: llc <%s -mattr=-neon  -mattr=-fp-armv8  | FileCheck %s2target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"3target triple = "aarch64"4 5@t = common global i32 0, align 46@x = common global i32 0, align 47 8define void @foo() {9entry:10;CHECK-LABEL: foo:11;CHECK: __floatsisf12  %0 = load i32, ptr @x, align 413  %conv = sitofp i32 %0 to float14  store float %conv, ptr @t, align 415  ret void16}17