This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Return true from preferZeroCompareBranch()
ClosedPublic

Authored by jonpa on May 24 2021, 5:08 PM.

Details

Summary

Doing this seems to eliminate compares overall on benchmarks:

cijlh          :                78588                77953     -635
ahik           :                72595                71970     -625
jlh            :               165486               166049     +563
ahi            :                89115                89660     +545
je             :               337157               337319     +162
...

Diff Detail

Event Timeline

jonpa created this revision.May 24 2021, 5:08 PM
jonpa requested review of this revision.May 24 2021, 5:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2021, 5:08 PM
uweigand accepted this revision.May 25 2021, 12:39 AM

Indeed, this looks like a win. LGTM.

This revision is now accepted and ready to land.May 25 2021, 12:39 AM
This revision was automatically updated to reflect the committed changes.