1; Simple bit of IR to mimic CUDA's libdevice.
2
3target triple = "nvptx-unknown-cuda"
4
5define double @__nv_sin(double %a) {
6 ret double 1.0
7}
8
9define double @__nv_exp(double %a) {
10 ret double 3.0
11}
12
13define double @__unused(double %a) {
14 ret double 2.0
15}
16
17