In BUILD_VECTOR lowering, we used to generally prefer using splats
over v128.const instructions because v128.const has a very large
encoding. However, in d5b7a4e2e8 we switched to preferring consts
because they are expected to be more efficient in engines. This patch
updates the ISel patterns to match this current preference.
Details
Details
- Reviewers
aheejin - Commits
- rGb59c6fcaf3fc: [WebAssembly] Prefer v128.const for constant splats
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo