diff options
author | Philip Reames <listmail@philipreames.com> | 2022-02-09 13:15:17 -0800 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-02-09 13:47:28 -0800 |
commit | d334fec1409c5b158bbed2f5694983cbb8a70f11 (patch) | |
tree | 291eadcca17d77ed0aa9fe0bb1bcf48341cb8ecf /llvm/unittests/Analysis/ScalarEvolutionTest.cpp | |
parent | a7b5e5b413bd1654e8e96b9c7842c7c1ab0db58a (diff) | |
download | llvm-d334fec1409c5b158bbed2f5694983cbb8a70f11.zip llvm-d334fec1409c5b158bbed2f5694983cbb8a70f11.tar.gz llvm-d334fec1409c5b158bbed2f5694983cbb8a70f11.tar.bz2 |
[SCEV] Make SCEVUnionPredicate externally immutable [NFC]
This is the last major stepping stone before being able to allocate the node via the folding set allocator. That will in turn allow more general SCEV predicate expression trees.
Diffstat (limited to 'llvm/unittests/Analysis/ScalarEvolutionTest.cpp')
-rw-r--r-- | llvm/unittests/Analysis/ScalarEvolutionTest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Analysis/ScalarEvolutionTest.cpp b/llvm/unittests/Analysis/ScalarEvolutionTest.cpp index 2101039..3e02fc7 100644 --- a/llvm/unittests/Analysis/ScalarEvolutionTest.cpp +++ b/llvm/unittests/Analysis/ScalarEvolutionTest.cpp @@ -942,7 +942,6 @@ TEST_F(ScalarEvolutionsTest, SCEVAddRecFromPHIwithLargeConstants) { // Make sure that SCEV doesn't blow up ScalarEvolution SE = buildSE(*F); - SCEVUnionPredicate Preds; const SCEV *Expr = SE.getSCEV(Phi); EXPECT_NE(nullptr, Expr); EXPECT_TRUE(isa<SCEVUnknown>(Expr)); @@ -1000,7 +999,6 @@ TEST_F(ScalarEvolutionsTest, SCEVAddRecFromPHIwithLargeConstantAccum) { // Make sure that SCEV doesn't blow up ScalarEvolution SE = buildSE(*F); - SCEVUnionPredicate Preds; const SCEV *Expr = SE.getSCEV(Phi); EXPECT_NE(nullptr, Expr); EXPECT_TRUE(isa<SCEVUnknown>(Expr)); |