This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix translation of target args
ClosedPublic

Authored by Hahnfeld on Sep 25 2017, 2:10 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Sep 27 2017, 7:42 AM
This revision was automatically updated to reflect the committed changes.