repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCUDA
/
Inputs
/
device-code-2.ll
blob
8fde3b13ec799913b6bacb8267fdc9b5aeffa86c
1
; Simple bit of IR to mimic CUDA's libdevice.
2
3
target triple = "nvptx-unknown-cuda"
4
5
define double @__nv_sin(double %a) {
6
ret double 1.0
7
}
8
9
define double @__nv_exp(double %a) {
10
ret double 3.0
11
}
12
13
define double @__unused(double %a) {
14
ret double 2.0
15
}
16