mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 23:29:22 +00:00
9 lines
181 B
LLVM
9 lines
181 B
LLVM
|
; 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
|
||
|
}
|
||
|
|