This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Improve multi-precision subtractions
AbandonedPublic

Authored by kazu on May 8 2022, 11:32 AM.

Details

Summary

This patch improves multi-precision subtractions by stripping away:

cset w_, lo
cmp wzr, w_

Diff Detail

Event Timeline

kazu created this revision.May 8 2022, 11:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2022, 11:32 AM
kazu requested review of this revision.May 8 2022, 11:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2022, 11:32 AM

Could you explain a bit why this patch works? The "ISD::AND" you're detecting isn't showing up in the final code. Is there some sort of ordering issue here, where we don't re-run this combine after the AND goes away?

paulwalker-arm resigned from this revision.Jul 15 2022, 9:00 AM