This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Delete old AMDGPUPropagateAttributes pass
ClosedPublic

Authored by arsenm on Jun 19 2023, 4:05 PM.

Details

Reviewers
rampitec
kzhuravl
lamb-j
Pierre-vh
b-sumner
jdoerfert
sstefan1
Group Reviewers
Restricted Project
Summary

The optimizing, non-broken features have all been moved to
AMDGPUAttributor. The only remaining piece of functionality was the
broken propagation of the wavesize features. This was fundamentally
broken and a hack for device library linking. It doesn't matter when
the device libraries are correctly linked and internalized.

In case of linked-as-normal-bitcode (as comgr still does), we're
reliant on the global subtarget anyway. If we can get away without
forcing target-cpu, we should just as well be able to get away without
propagating target-features.

Diff Detail

Event Timeline

arsenm created this revision.Jun 19 2023, 4:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 19 2023, 4:05 PM
arsenm requested review of this revision.Jun 19 2023, 4:05 PM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: wdng. · View Herald Transcript

Did it pass ePSDB?

Did it pass ePSDB?

So far it’s passed regular

rampitec accepted this revision.Jun 19 2023, 4:37 PM

Let's cross fingers.

This revision is now accepted and ready to land.Jun 19 2023, 4:37 PM

Did it pass ePSDB?

So far it’s passed regular

Actually I think ePSDB was just merged. I haven't seen the separate failure report mail in a while

llvm/test/CodeGen/AMDGPU/propagate-attributes-clone.ll