aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-09-27 18:12:36 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-09-27 18:12:36 +0000
commit102c333d9a5da87a34dbff8ea84c025db5fb5278 (patch)
treefc17c97c8f6c4ad3970ece5eaf7089f677264fe2 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent757e61fa4f980379f3a98c9e13e94670955138be (diff)
downloadllvm-102c333d9a5da87a34dbff8ea84c025db5fb5278.zip
llvm-102c333d9a5da87a34dbff8ea84c025db5fb5278.tar.gz
llvm-102c333d9a5da87a34dbff8ea84c025db5fb5278.tar.bz2
[OpenMP] Fix translation of target args
ToolChain::TranslateArgs() returns nullptr if no changes are performed. This would currently mean that OpenMPArgs are lost. Patch fixes this by falling back to simply using OpenMPArgs in that case. Differential Revision: https://reviews.llvm.org/D38259 llvm-svn: 314330
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions