llvm-project/llvm/test/CodeGen/NVPTX/div-ri.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
181 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=nvptx -mcpu=sm_20 -nvptx-prec-divf32=0 | FileCheck %s
define float @foo(float %a) {
; CHECK: div.approx.f32
%div = fdiv float %a, 13.0
ret float %div
}