This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Ignore CodeObjectV3 when inlining
ClosedPublic

Authored by arsenm on Feb 12 2019, 3:17 PM.

Details

Reviewers
rampitec
kzhuravl
Summary

This was inhibiting inlining of library functions when clang was
invoking the inliner directly. This is covering a bit of a mess with
subtarget feature handling, and this shouldn't be a subtarget
feature. The behavior is different depending on whether you are using
a -mattr flag in clang, or llc, opt.

Diff Detail

Event Timeline

arsenm created this revision.Feb 12 2019, 3:17 PM
This revision is now accepted and ready to land.Feb 12 2019, 3:21 PM
arsenm closed this revision.Feb 12 2019, 3:30 PM

r353899