This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Reorganize deinterleave lowering for reuse [nfc]
ClosedPublic

Authored by reames on Feb 21 2023, 7:21 PM.

Details

Summary

Not entirely sure we'll end up reusing the body of the transform, but personally I find this structure easier to follow anyways.

Diff Detail

Event Timeline

reames created this revision.Feb 21 2023, 7:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2023, 7:21 PM
reames requested review of this revision.Feb 21 2023, 7:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2023, 7:21 PM
luke added inline comments.Feb 22 2023, 3:05 AM
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
2937

Is the "function of type SDValue that returns SDValue() on failure otherwise lower" style more idiomatic than "perform check with boolean function first then lower"?
If so I can update D144092 to use the former

This revision is now accepted and ready to land.Feb 22 2023, 8:47 AM
This revision was landed with ongoing or failed builds.Feb 22 2023, 9:58 AM
This revision was automatically updated to reflect the committed changes.