[PATCH] D55897: Add constrained fptrunc and fpext intrinsics
Andy Kaylor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 11:41:54 PDT 2019
andrew.w.kaylor added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:7711
case ISD::STRICT_FTRUNC: NewOpc = ISD::FTRUNC; IsUnary = true; break;
+ case ISD::STRICT_FP_ROUND: NewOpc = ISD::FP_ROUND; break;
+ case ISD::STRICT_FP_EXTEND: NewOpc = ISD::FP_EXTEND; IsUnary = true; break;
----------------
It might be helpful to have a comment here explaining why STRICT_FP_ROUND isn't unary. That can be done in a separate change if everything else here is ready to commit. It all looks good to me, but I'm hoping Craig can give your widen vector changes one last look to make sure that's doing what he expected.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55897/new/
https://reviews.llvm.org/D55897
More information about the llvm-commits
mailing list