[llvm] [VPlan] Introduce VPWidenIntrinsicRecipe to separate from libcall. (PR #110486)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 05:28:21 PDT 2024


================
@@ -161,6 +165,8 @@ bool VPRecipeBase::mayHaveSideEffects() const {
     Function *Fn = cast<VPWidenCallRecipe>(this)->getCalledScalarFunction();
     return mayWriteToMemory() || !Fn->doesNotThrow() || !Fn->willReturn();
   }
+  case VPWidenIntrinsicSC:
+    return false;
----------------
fhahn wrote:

Yep, updated to store read/write/sideeffcts in recipe.

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


More information about the llvm-commits mailing list