[PATCH] D117464: [PowerPC] Fix issue with strict float to int conversion.
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 17 06:02:05 PST 2022
nemanjai added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11188-11189
+ Results.push_back(LoweredValue);
+ if (N->getOpcode() == ISD::STRICT_FP_TO_SINT ||
+ N->getOpcode() == ISD::STRICT_FP_TO_UINT)
+ Results.push_back(LoweredValue.getValue(1));
----------------
This would be simpler represented as `N->isStrictFPOpcode()`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117464/new/
https://reviews.llvm.org/D117464
More information about the llvm-commits
mailing list