This is an archive of the discontinued LLVM Phabricator instance.

[XCORE][CodeGen][NFC] Use ArrayRef in TargetLowering functions
ClosedPublic

Authored by Miss_Grape on Apr 13 2022, 1:16 AM.

Diff Detail

Event Timeline

Miss_Grape created this revision.Apr 13 2022, 1:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:16 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Miss_Grape requested review of this revision.Apr 13 2022, 1:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:16 AM

If D123656 gets consensus then this looks right to bring XCore in line with it. But personally I think the original structure is clearer: one operation per line, with the MVT and action right next to it. What is the motive for the change?

nigelp-xmos accepted this revision.Apr 25 2022, 8:42 AM

I see D123467 is the cross-target patch for this, and was accepted, so LGTM.

This revision is now accepted and ready to land.Apr 25 2022, 8:42 AM
This revision was landed with ongoing or failed builds.Apr 27 2022, 7:07 PM
This revision was automatically updated to reflect the committed changes.

I am inclined to revert this change, in line with readability and the other targets. I commented above that I found the original structure clearer. Others said similarly in the changes for other targets. I was happy to bring XCore in line with other targets, but they have not gone for multiple operations on one line. So I would prefer to revert, but welcome comments.