This is an archive of the discontinued LLVM Phabricator instance.

[TargetLowering][RISCV] Prevent scalarization of fixed vector bswap.
ClosedPublic

Authored by craig.topper on Oct 21 2021, 11:05 AM.

Details

Summary

It's better to do the ands, shifts, ors in the vector domain than
to scalarize it and do those operations on each element.

Diff Detail

llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp