[PATCH] D87232: [SVE][CodeGen] Lower floating point -> integer conversions
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 16:18:45 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:562
// preferable. We choose SINT because that's the right thing on PPC.)
- if (N->getOpcode() == ISD::FP_TO_UINT &&
+ if (!NVT.isScalableVector() && N->getOpcode() == ISD::FP_TO_UINT &&
!TLI.isOperationLegal(ISD::FP_TO_UINT, NVT) &&
----------------
Why is isScalableVector() relevant here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87232/new/
https://reviews.llvm.org/D87232
More information about the llvm-commits
mailing list