~shimon/dismaltc

ref: 461e0617cb03f1d5027af4fbb3da0722791022e9 dismaltc/clang/disable-test/CodeGenCUDA/Inputs/device-code-2.ll -rw-r--r-- 271 bytes
461e0617Itoh Shimon re-enable tests. 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; Simple bit of IR to mimic CUDA's libdevice.

target triple = "nvptx-unknown-cuda"

define double @__nv_sin(double %a) {
       ret double 1.0
}

define double @__nv_exp(double %a) {
       ret double 3.0
}

define double @__unused(double %a) {
       ret double 2.0
}