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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment