Sign in
cobalt
/
cobalt
/
9acf5125db5988fba13d7ec2ee71f8dec679c7bf
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGenCUDA
/
Inputs
/
device-code-2.ll
blob: 8fde3b13ec799913b6bacb8267fdc9b5aeffa86c [
file
] [
log
] [
blame
]
; 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
}