This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][NFC] Merge some common ISD node when setOperationAction
AbandonedPublic

Authored by Jimerlife on Aug 21 2022, 11:53 PM.

Details

Summary

Merge some common ISD node when setOperationAction

Diff Detail

Event Timeline

Jimerlife created this revision.Aug 21 2022, 11:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2022, 11:53 PM
Jimerlife requested review of this revision.Aug 21 2022, 11:53 PM

Hi @Jimerlife is there a specific reason why you're refactoring this? This patch may reduce the number of lines of code, but it is arguable whether the new version is more readable or better. Code-refactoring creates merge-problems for people needing to maintain downstream branches, so unless there is a clear benefit to the code it is preferable to keep this to a minimum.

Hi @Jimerlife is there a specific reason why you're refactoring this? This patch may reduce the number of lines of code, but it is arguable whether the new version is more readable or better. Code-refactoring creates merge-problems for people needing to maintain downstream branches, so unless there is a clear benefit to the code it is preferable to keep this to a minimum.

Thanks for your detail explanation. Keep origin form maybe more better.

Jimerlife abandoned this revision.Aug 22 2022, 1:58 AM