Skip to content

Commit

Permalink
[MemLoc] Specify LocationSize in unit test
Browse files Browse the repository at this point in the history
Followup to 393b9e9,
where I missed updating one MemoryLocation use inside a unit test.
  • Loading branch information
nikic committed Nov 19, 2020
1 parent 393b9e9 commit d8eb998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/unittests/Analysis/MemorySSATest.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit d8eb998

Please sign in to comment.