This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Fix a crash in POWER 9 setb peephole
ClosedPublic

Authored by qiucf on Oct 26 2020, 3:18 AM.

Details

Summary

Variable InnerIsSel references FalseRes, while FalseRes might be zext/sext. So InnerIsSel should reference SetOrSelCC, otherwise a crash will happen.

Diff Detail

Event Timeline

qiucf created this revision.Oct 26 2020, 3:18 AM
qiucf requested review of this revision.Oct 26 2020, 3:18 AM
steven.zhang accepted this revision.Nov 1 2020, 6:33 PM

LGTM, thank you for fixing this.

This revision is now accepted and ready to land.Nov 1 2020, 6:33 PM
This revision was landed with ongoing or failed builds.Nov 1 2020, 10:30 PM
This revision was automatically updated to reflect the committed changes.