[clang] [llvm] Implement operand bundles for floating-point operations (PR #109798)
Serge Pavlov via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 27 09:25:31 PDT 2024
================
@@ -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
More information about the cfe-commits
mailing list