[llvm] [TargetLowering][SelectionDAG] Exploit nneg Flag in UINT_TO_FP (PR #108931)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 02:33:16 PDT 2024
================
@@ -5222,7 +5222,7 @@ SDValue DAGTypeLegalizer::WidenVecRes_Convert(SDNode *N) {
InVTEC = InVT.getVectorElementCount();
if (InVTEC == WidenEC) {
if (N->getNumOperands() == 1)
- return DAG.getNode(Opcode, DL, WidenVT, InOp);
+ return DAG.getNode(Opcode, DL, WidenVT, InOp, Flags);
----------------
RKSimon wrote:
I assume we don't care that the new widened elements might create poison due to the addition of the flags?
https://github.com/llvm/llvm-project/pull/108931
More information about the llvm-commits
mailing list