This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Prevent performCombineVMergeAndVOps from creating cycles in the DAG.
ClosedPublic

Authored by craig.topper on Sep 30 2022, 11:46 AM.

Details

Summary

If True has a Chain result, the other operands of the vmerge may
depend on it through that Chain. We need to ensure it isn't a
predecessor of those operands.

Diff Detail

Event Timeline

craig.topper created this revision.Sep 30 2022, 11:46 AM
craig.topper requested review of this revision.Sep 30 2022, 11:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2022, 11:46 AM

Include the test.

This revision is now accepted and ready to land.Sep 30 2022, 5:29 PM
This revision was landed with ongoing or failed builds.Sep 30 2022, 8:10 PM
This revision was automatically updated to reflect the committed changes.