Page MenuHomePhabricator

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

Authored by qiucf on Mon, Oct 26, 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.Mon, Oct 26, 3:18 AM
qiucf requested review of this revision.Mon, Oct 26, 3:18 AM
steven.zhang accepted this revision.Sun, Nov 1, 6:33 PM

LGTM, thank you for fixing this.

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