The SIMD spec does not include i64x2 comparisons, so they need to be
expanded. Using setOperationAction to expand them also causes f64x2
comparisons to be expanded, so setCondCodeAction needs to be used
instead. But since there are no legal condition codes, the legalizer
does not know how to expand the comparisons. We therefore manually
unroll the operation, taking care to fill each lane with -1 or 0
rather than 1 or 0 for consistency with the other vector comparisons.
Details
Details
- Reviewers
aheejin - Commits
- rG11850a6305c5: [WebAssembly] Expand setcc of v2i64
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo