[PATCH] D28696: DAG: Constant fold fp16_to_fp/fp16_to_fp

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 14:07:49 PST 2017


arsenm added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:3335
       case ISD::FP_TO_SINT:
       case ISD::FP_TO_UINT:
       case ISD::TRUNCATE:
----------------
arsenm wrote:
> RKSimon wrote:
> > Add ISD::FP_TO_FP16: to vector constant folding?
> I'm not sure these support vectors?
The intrinsics do not, but I guess it could differ for the node


https://reviews.llvm.org/D28696





More information about the llvm-commits mailing list