This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove AMDGPUFixFunctionBitcasts pass
ClosedPublic

Authored by arsenm on Dec 14 2021, 3:03 PM.

Details

Summary

This was a workaround for not supporting indirect calls when
instcombine didn't eliminate constant expression casts of the callee
at -O0. Indirect calls are supposed to work now, so drop the hack.

Diff Detail

Event Timeline

arsenm created this revision.Dec 14 2021, 3:03 PM
arsenm requested review of this revision.Dec 14 2021, 3:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2021, 3:03 PM
Herald added a subscriber: wdng. · View Herald Transcript
rampitec accepted this revision.Dec 14 2021, 3:05 PM
This revision is now accepted and ready to land.Dec 14 2021, 3:05 PM
scott.linder accepted this revision.Dec 15 2021, 11:34 AM
llvm/lib/Target/AMDGPU/AMDGPU.h