aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-05-16 12:26:32 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-05-16 18:19:02 -0400
commitb653b409ff44b09ade04bb6e579f5f9790424611 (patch)
tree43dc8153f543a7190b8885bd66780d1e4b4ec141 /llvm/lib/CodeGen/MachineOperand.cpp
parent5ffecd28c9fb3098049f0477759f779122153499 (diff)
downloadllvm-b653b409ff44b09ade04bb6e579f5f9790424611.zip
llvm-b653b409ff44b09ade04bb6e579f5f9790424611.tar.gz
llvm-b653b409ff44b09ade04bb6e579f5f9790424611.tar.bz2
[OpenMP] Don't build the offloading driver without a source input
The Clang driver additional stages to build a complete offloading program for applications using CUDA or OpenMP offloading. This normally requires either a source file input or a valid object file to be handled. This would cause problems when trying to compile an assembly or LLVM IR file through clang with flags that would enable offloading. This patch simply adds a check to prevent the offloading toolchain from being used if we don't have a valid source file. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D125705
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions