[llvm] 96b7af6 - [VPlan] Update unit test after 569d84fe99e63.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 04:44:47 PDT 2022


Author: Florian Hahn
Date: 2022-06-23T13:44:41+02:00
New Revision: 96b7af681545af980cd8077a739ce06628039bfa

URL: https://github.com/llvm/llvm-project/commit/96b7af681545af980cd8077a739ce06628039bfa
DIFF: https://github.com/llvm/llvm-project/commit/96b7af681545af980cd8077a739ce06628039bfa.diff

LOG: [VPlan] Update unit test after 569d84fe99e63.

Added: 
    

Modified: 
    llvm/unittests/Transforms/Vectorize/VPlanTest.cpp

Removed: 
    


################################################################################
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());


        


More information about the llvm-commits mailing list