[clang] [llvm] Implement operand bundles for floating-point operations (PR #109798)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 03:06:01 PDT 2024


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

It shouldn't be necessary to touch the attributes. The set of intrinsic attributes are fixed (callsite attributes are another thing, but generally should be droppable here) 

https://github.com/llvm/llvm-project/pull/109798


More information about the llvm-commits mailing list