This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't assume call targets are registers
ClosedPublic

Authored by arsenm on Jul 27 2020, 5:23 AM.

Details

Summary

GlobalISel let through a call to null, which would then fold into the
source operand like any other inline immediate. The SelectionDAG
lowering deletes calls to null and undef as a workaround from before
calls were supported. We should probably drop the special handling
case in the DAG lowering now, since the middle end optimizers delete
null calls anyway.

Diff Detail

Event Timeline

arsenm created this revision.Jul 27 2020, 5:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2020, 5:23 AM
This revision is now accepted and ready to land.Jul 28 2020, 1:10 PM