[clang] [llvm] [mlir] [clang][NVPTX][MLIR][NVVM] Add overloaded fadd intrinsics (PR #217336)
Durgadoss R via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 21 05:48:17 PDT 2026
================
@@ -4482,6 +4466,12 @@ static Constant *ConstantFoldFixedVectorCall(
return ConstantVector::get(Result);
}
+ case Intrinsic::nvvm_fadd:
+ case Intrinsic::nvvm_fadd_ftz:
+ // The rounding mode operand is a scalar, so the lane-wise folding below
+ // does not apply.
+ // TODO: Fold these by passing the rounding mode through to every lane.
----------------
durga4github wrote:
so, are we missing the v2f16 const folding now?
https://github.com/llvm/llvm-project/pull/217336
More information about the cfe-commits
mailing list