diff --git a/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp b/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp index 31bd4418a174e..0e5795164850b 100644 --- a/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp +++ b/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp @@ -1011,7 +1011,7 @@ TEST(VPRecipeTest, MayHaveSideEffectsAndMayReadWriteMemory) { { VPValue Mask; VPBranchOnMaskRecipe Recipe(&Mask); - EXPECT_FALSE(Recipe.mayHaveSideEffects()); + EXPECT_TRUE(Recipe.mayHaveSideEffects()); EXPECT_FALSE(Recipe.mayReadFromMemory()); EXPECT_FALSE(Recipe.mayWriteToMemory()); EXPECT_FALSE(Recipe.mayReadOrWriteMemory());