Skip to content
Commit 4db9dc6f authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP]Fix PR43355: DO not emit target calls if only -fopenmp-targets

is not provided.

We should not emit any target-dependent code if only -fopenmp flag is
used and device targets are not provided to prevent compiler crash.

llvm-svn: 372623
parent 6784a3cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment