[VPlan] VPWidenCallRecipe has side-effects if the call has.
authorFlorian Hahn <flo@fhahn.com>
Sun, 5 Mar 2023 11:08:54 +0000 (12:08 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sun, 5 Mar 2023 11:08:56 +0000 (12:08 +0100)
commitbe968dbeee46daaba164d11be4391bbebd61baf0
treea5e25cf4f92c36f7cde80cc8e6d96981a1adb3bd
parent78e4237460bf58f3d6b75f275e0424f38e3b1d04
[VPlan] VPWidenCallRecipe has side-effects if the call has.

Handle VPWidenCallRecipe in VPRecipeBase::mayHaveSideEffects by
delegating to the underlying call.
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp