[llvm] [RISCV][GlobalISel] Legalize G_ADD, G_SUB, G_AND, G_OR, G_XOR on RISC-V Vector Extension (PR #71400)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 20 09:20:24 PST 2023
topperc wrote:
> > What's your insight into this behavior and what's your opinion on implementation @michaelmaitland @topperc ? I mean using them in-place works, but it's clumsy.
>
>
>
> I experienced this too when I was playing around. Maybe we should do the in place definition, and a future patch can allow `legalIf`, `legalFor` , etc to be overloaded with something like T[].
Does `auto AllVecTys = {` work? The documentation for initializer list calls out auto as being special for C++17.
https://github.com/llvm/llvm-project/pull/71400
More information about the llvm-commits
mailing list