From c057d1d3af1dbe84881372b5d17214dc35c27ed3 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Sat, 8 Feb 2020 18:58:16 -0600 Subject: [PATCH] [FIX] Fix warning in LazyCallGraphTest caused by D70927 --- llvm/unittests/Analysis/LazyCallGraphTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/unittests/Analysis/LazyCallGraphTest.cpp b/llvm/unittests/Analysis/LazyCallGraphTest.cpp index be7d458df729..3be463646878 100644 --- a/llvm/unittests/Analysis/LazyCallGraphTest.cpp +++ b/llvm/unittests/Analysis/LazyCallGraphTest.cpp @@ -484,10 +484,10 @@ TEST(LazyCallGraphTest, BasicGraphMutationOutlining) { CallInst::Create(NewFn, "", &*IP); CG.addNewFunctionIntoSCC(*NewFn, *CG.lookupSCC(B)); - EXPECT_EQ(CG.lookupSCC(A)->size(), 1U); - EXPECT_EQ(CG.lookupSCC(B)->size(), 2U); - EXPECT_EQ(CG.lookupSCC(C)->size(), 1U); - EXPECT_EQ(CG.lookupSCC(*CG.lookup(*NewFn))->size(), 2U); + EXPECT_EQ(CG.lookupSCC(A)->size(), 1); + EXPECT_EQ(CG.lookupSCC(B)->size(), 2); + EXPECT_EQ(CG.lookupSCC(C)->size(), 1); + EXPECT_EQ(CG.lookupSCC(*CG.lookup(*NewFn))->size(), 2); EXPECT_EQ(CG.lookupSCC(*CG.lookup(*NewFn))->size(), CG.lookupSCC(B)->size()); }