================
@@ -4201,6 +4160,31 @@ static Constant *ConstantFoldScalarCall3(StringRef Name,
}
}
+ if (IntrinsicID == Intrinsic::nvvm_fadd ||
----------------
Wolfram70 wrote:
I think we should (along with folding for the vector types), perhaps in a
follow-up PR. I didn't want to include it in this one since it seemed quite
large already. Added a TODO comment for this here as well, 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