[PATCH] D94708: [IR] Introduce llvm.experimental.vector.splice intrinsic
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 04:19:03 PST 2021
c-rhodes added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:1093
setOperationAction(ISD::SELECT, VT, Custom);
+ setOperationAction(ISD::SETCC, VT, Custom);
setOperationAction(ISD::SDIV, VT, Custom);
----------------
cameron.mcinally wrote:
> Is this change required for the splice patch? I wonder if it should be broken out to its own commit.
> Is this change required for the splice patch? I wonder if it should be broken out to its own commit.
This fixes a selection error I hit when splicing predicates. The promotion of predicates uses a truncate which gets lowered to a setcc that crashes on operands of type `VT`, e.g.:
``` t17: nxv2i64 = and t29, t30
t31: nxv2i64 = AArch64ISD::DUP Constant:i64<0>
t19: nxv2i1 = setcc t17, t31, setne:ch```
I can split this into a separate patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94708/new/
https://reviews.llvm.org/D94708
More information about the llvm-commits
mailing list