================
@@ -357,6 +357,9 @@ class IRBuilderBase {
 
   void setConstrainedFPCallAttr(CallBase *I) {
     I->addFnAttr(Attribute::StrictFP);
+    MemoryEffects ME = MemoryEffects::inaccessibleMemOnly();
----------------
spavloff wrote:

If a constrained intrinsic like `experimental_constrained_sqrt` is used, its 
memory effect is taken from the intrinsic properties. If `sqrt` is used with 
bundle operands, the memory effect must be set explicitly.

https://github.com/llvm/llvm-project/pull/109798
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to