This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Update LiveVariables after killing an immediate def
ClosedPublic

Authored by foad on Jul 13 2022, 9:40 AM.

Details

Summary

D114999 added code to kill an immediate def if it was folded into its
only use by convertToThreeAddress. This patch updates LiveVariables when
that happens in order to fix verification failures exposed by D129213.

Diff Detail

Event Timeline

foad created this revision.Jul 13 2022, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2022, 9:40 AM
foad requested review of this revision.Jul 13 2022, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2022, 9:40 AM
arsenm accepted this revision.Jul 13 2022, 9:51 AM
This revision is now accepted and ready to land.Jul 13 2022, 9:51 AM
rampitec accepted this revision.Jul 13 2022, 10:17 AM
This revision was landed with ongoing or failed builds.Jul 14 2022, 2:52 AM
This revision was automatically updated to reflect the committed changes.