This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Optimize away a Not feeding a brcond by using tbz instead of tbnz.
ClosedPublic

Authored by aemerson on Aug 22 2020, 11:37 PM.

Details

Summary

Usually brconds are fed by compares, but not always, in which case we would miss this fold.

Diff Detail

Event Timeline

aemerson created this revision.Aug 22 2020, 11:37 PM
aemerson requested review of this revision.Aug 22 2020, 11:37 PM
paquette accepted this revision.Aug 27 2020, 11:03 AM

LGTM, assuming the pre-merge check thing is just being wonky and m_GXor exists.

This revision is now accepted and ready to land.Aug 27 2020, 11:03 AM
This revision was landed with ongoing or failed builds.Sep 1 2020, 11:06 AM
This revision was automatically updated to reflect the committed changes.