[PATCH] D149572: [LegalizeVectorOps][AArch64][RISCV][X86] Use OpVT for ISD::SETCC in LegalizeVectorOps.
Sergei Barannikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 1 21:56:54 PDT 2023
barannikov88 added a comment.
In D149572#4310285 <https://reviews.llvm.org/D149572#4310285>, @craig.topper wrote:
> For targets without legal i1 vector result types, the result type for a vector FP compare is the integer type with elements the same size as the FP elements type. For vector integer compares the source and dest would be the same type. So if we check both types, I think that would force FP compares to be custom handled even if only the integer compares need custom handling.
Sounds reasonable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149572/new/
https://reviews.llvm.org/D149572
More information about the llvm-commits
mailing list