================
@@ -4201,6 +4160,31 @@ static Constant *ConstantFoldScalarCall3(StringRef Name,
}
}
+ if (IntrinsicID == Intrinsic::nvvm_fadd ||
+ IntrinsicID == Intrinsic::nvvm_fadd_ftz) {
+ const auto *Op1 = dyn_cast<ConstantFP>(Operands[0]);
----------------
Wolfram70 wrote:Done, thanks! https://github.com/llvm/llvm-project/pull/217336 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
