llvm.org GIT mirror llvm / release_39 test / CodeGen / NVPTX / div-ri.ll
release_39

Tree @release_39 (Download .tar.gz)

div-ri.ll @release_39raw · history · blame

1
2
3
4
5
6
7
; 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
}