brintos

brintos / llvm-project-archived public Read only

0
0
Text · 518 B · 3d861e6 Raw
15 lines · plain
1; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_35 | FileCheck %s2; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_35 | %ptxas-verify %}3 4define void @foo(ptr nocapture readonly %x_value, ptr nocapture %output) #0 {5  %1 = load <4 x float>, ptr %x_value, align 166  %2 = fpext <4 x float> %1 to <4 x double>7; CHECK-NOT: ld.v2.b32 {%fd{{[0-9]+}}, %fd{{[0-9]+}}}, [%rd{{[0-9]+}}];8; CHECK:  cvt.f64.f329; CHECK:  cvt.f64.f3210; CHECK:  cvt.f64.f3211; CHECK:  cvt.f64.f3212  store <4 x double> %2, ptr %output13  ret void14}15