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

>From the LangRef "Calls and invokes with operand bundles have unknown read / 
>write effect on the heap on entry and exit (even if the call target specifies 
>a memory attribute), unless they’re overridden with callsite specific 
>attributes." I assumed that's why the callsite attribute is being set here.

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