[llvm] [VPlan] Introduce VPWidenIntrinsicRecipe to separate from libcall. (PR #110486)
    Alexey Bataev via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Oct  3 03:25:33 PDT 2024
    
    
  
================
@@ -79,6 +79,8 @@ bool VPRecipeBase::mayWriteToMemory() const {
     return !cast<VPWidenCallRecipe>(this)
                 ->getCalledScalarFunction()
                 ->onlyReadsMemory();
+  case VPWidenIntrinsicSC:
+    return false;
----------------
alexey-bataev wrote:
This might be incorrect for memaccesses intrinsics. Need somehow to restrict the class for using with such intrinsics
https://github.com/llvm/llvm-project/pull/110486
    
    
More information about the llvm-commits
mailing list