This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Lower unary zvbb ops for fixed vectors
ClosedPublic

Authored by luke on Aug 7 2023, 8:40 AM.

Details

Summary

This reuses the same strategy for fixed vectors as other ops, i.e. custom lower
to a scalable *_vl SD node.

Diff Detail

Event Timeline

luke created this revision.Aug 7 2023, 8:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2023, 8:40 AM
luke requested review of this revision.Aug 7 2023, 8:40 AM
craig.topper added inline comments.Aug 7 2023, 9:53 AM
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
5173

The Subtarget.hasStdExtZvbb() check could be an assert.

luke updated this revision to Diff 547840.Aug 7 2023, 10:17 AM

Assert zvbb extension

This revision is now accepted and ready to land.Aug 7 2023, 2:56 PM
This revision was landed with ongoing or failed builds.Aug 8 2023, 1:47 AM
This revision was automatically updated to reflect the committed changes.