diff options
author | Artem Belevich <tra@google.com> | 2017-11-28 18:51:42 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2017-11-28 18:51:42 +0000 |
commit | 50e6e545872366dc68e005320564a67a68ecdc33 (patch) | |
tree | bc10c5eb63cbb1487730f506925081b2271126e3 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | bba7f862d8ab3f97372969856e376a0e4b636227 (diff) | |
download | bcm5719-llvm-50e6e545872366dc68e005320564a67a68ecdc33.tar.gz bcm5719-llvm-50e6e545872366dc68e005320564a67a68ecdc33.zip |
[CUDA] Report "unsupported VLA" errors only on device side.
This fixes erroneously reported CUDA compilation errors
in host-side code during device-side compilation.
I've also restricted OpenMP-specific checks to trigger only
if we're compiling with OpenMP enabled.
Differential Revision: https://reviews.llvm.org/D40275
llvm-svn: 319201
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions