brintos

brintos / llvm-project-archived public Read only

0
0
Text · 283 B · d5d5422 Raw
10 lines · plain
1; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 -nvptx-prec-divf32=0 | FileCheck %s2; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 -nvptx-prec-divf32=0 | %ptxas-verify %}3 4define float @foo(float %a) {5; CHECK: div.approx.f326  %div = fdiv float %a, 13.07  ret float %div8}9 10