[PATCH] D54749: Saturating float to int casts: Basics [1/n]
Bevin Hansson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 05:39:41 PDT 2020
ebevhan added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:7987
+ SrcVT = Src.getValueType();
+ }
+
----------------
I also added this to solve issues in expanding f16 FP_TO_XINT nodes to libcalls. Libcalls with a source of f16 don't seem to exist, so we can't emit such nodes if we will end up making libcalls of them.
Maybe this should check operation and type legality, though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54749/new/
https://reviews.llvm.org/D54749
More information about the llvm-commits
mailing list