This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/OpenCL: Accept -nostdlib in place of -nogpulib
ClosedPublic

Authored by arsenm on May 12 2020, 8:13 AM.

Details

Summary

-nogpulib makes sense when there is a host (where -nostdlib would
apply) and offload target. Accept nostdlib when there is no offload
target as an alias.

Diff Detail

Event Timeline

arsenm created this revision.May 12 2020, 8:13 AM
yaxunl accepted this revision.May 13 2020, 5:58 PM

LGTM

This revision is now accepted and ready to land.May 13 2020, 5:58 PM