repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
NVPTX
/
div-ri.ll
blob
7f796e0239fcef319677e6fc5339bbed82e7d840
1
; RUN: llc < %s -march=nvptx -mcpu=sm_20 -nvptx-prec-divf32=0 | FileCheck %s
2
3
define float @foo(float %a) {
4
; CHECK: div.approx.f32
5
%div = fdiv float %a, 13.0
6
ret float %div
7
}
8