diff options
author | Gil Rapaport <gil.rapaport@intel.com> | 2019-10-07 17:24:33 +0300 |
---|---|---|
committer | Gil Rapaport <gil.rapaport@intel.com> | 2019-11-05 17:29:13 +0200 |
commit | 100e797adb433724a17c9b42b6533cd634cb796b (patch) | |
tree | 414525d19cddb3386a0f845ac6c797c70231e0c8 /llvm/unittests/Transforms/Vectorize/VPlanTest.cpp | |
parent | 95a25d8883365c26999496400a75df83e577e0de (diff) | |
download | bcm5719-llvm-100e797adb433724a17c9b42b6533cd634cb796b.tar.gz bcm5719-llvm-100e797adb433724a17c9b42b6533cd634cb796b.zip |
[LV] Apply sink-after & interleave-groups as VPlan transformations (NFC)
This recommits 2be17087f8c38934b7fc9208ae6cf4e9b4d44f4b (reverted in
d3ec06d219788801380af1948c7f7ef9d3c6100b for heap-use-after-free) with a fix
in IAI's reset() which was not clearing the set of interleave groups after
deleting them.
Diffstat (limited to 'llvm/unittests/Transforms/Vectorize/VPlanTest.cpp')
-rw-r--r-- | llvm/unittests/Transforms/Vectorize/VPlanTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp b/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp index 57567e7d843..67936a83efa 100644 --- a/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp +++ b/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp @@ -83,6 +83,7 @@ TEST(VPInstructionTest, moveAfter) { CHECK_ITERATOR(VPBB1, I2, I1); CHECK_ITERATOR(VPBB2, I4, I3, I5); + EXPECT_EQ(I3->getParent(), I4->getParent()); } } // namespace |