This is an archive of the discontinued LLVM Phabricator instance.

[darwin][driver] Pass through -global-isel LLVM flags to ld.
ClosedPublic

Authored by aemerson on Mar 22 2021, 4:57 PM.

Details

Summary

GlobalISel is currently not enabled when using -flto since the front-end -mvllm flags don't get passed through. This change fixes this for Darwin platforms. We have to do this in the driver because the code generator choice isn't embedded into the bitcode file.

Diff Detail

Event Timeline

aemerson created this revision.Mar 22 2021, 4:57 PM
aemerson requested review of this revision.Mar 22 2021, 4:57 PM
This revision is now accepted and ready to land.Mar 22 2021, 5:10 PM
This revision was landed with ongoing or failed builds.Mar 22 2021, 5:23 PM
This revision was automatically updated to reflect the committed changes.