The unpredicated case of this is trivial: the clang codegen just makes
a vector splat of the input, and LLVM isel is already prepared to
handle that. For the predicated version, I've generated a select
between the same vector splat and the inactive input parameter, and
added new Tablegen isel rules to match that pattern into a predicated
MVE_VDUP instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo