[clang] [llvm] [clang-tools-extra] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation. (PR #78113)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 23:04:32 PST 2024


================
@@ -164,6 +164,8 @@ bool VPRecipeBase::mayHaveSideEffects() const {
     auto *R = cast<VPReplicateRecipe>(this);
     return R->getUnderlyingInstr()->mayHaveSideEffects();
   }
+  case VPScalarCastSC:
+    return false;
----------------
ayalz wrote:

nit: join the above group known to return false including VPDerivedIVSC and VPPredInstPHISC?

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


More information about the cfe-commits mailing list