[llvm] d8eb998 - [MemLoc] Specify LocationSize in unit test
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 19 12:52:47 PST 2020
Author: Nikita Popov
Date: 2020-11-19T21:50:44+01:00
New Revision: d8eb99810dc32e5803d363ddc9dc30b79a5fefa7
URL: https://github.com/llvm/llvm-project/commit/d8eb99810dc32e5803d363ddc9dc30b79a5fefa7
DIFF: https://github.com/llvm/llvm-project/commit/d8eb99810dc32e5803d363ddc9dc30b79a5fefa7.diff
LOG: [MemLoc] Specify LocationSize in unit test
Followup to 393b9e9db31a3f83bc8b813ee24b56bc8ed93a49,
where I missed updating one MemoryLocation use inside a unit test.
Added:
Modified:
llvm/unittests/Analysis/MemorySSATest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Analysis/MemorySSATest.cpp b/llvm/unittests/Analysis/MemorySSATest.cpp
index 2e56d7c6917a..e7e0abe0fb41 100644
--- a/llvm/unittests/Analysis/MemorySSATest.cpp
+++ b/llvm/unittests/Analysis/MemorySSATest.cpp
@@ -1277,7 +1277,7 @@ TEST_F(MemorySSATest, LifetimeMarkersAreClobbers) {
MemoryAccess *LifetimeStartClobber =
MSSA.getWalker()->getClobberingMemoryAccess(
- LifetimeStartAccess, MemoryLocation(Foo));
+ LifetimeStartAccess, MemoryLocation(Foo, LocationSize::unknown()));
EXPECT_EQ(LifetimeStartClobber, LifetimeStartAccess);
}
More information about the llvm-commits
mailing list