We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7714df9 commit ca641b2Copy full SHA for ca641b2
llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -1620,10 +1620,12 @@ void MemoryDependenceResults::removeInstruction(Instruction *RemInst) {
1620
assert(P.getPointer() != RemInst &&
1621
"Already removed NonLocalPointerDeps info for RemInst");
1622
1623
- NonLocalDepInfo &NLPDI = NonLocalPointerDeps[P].NonLocalDeps;
+ auto &NLPD = NonLocalPointerDeps[P];
1624
+
1625
+ NonLocalDepInfo &NLPDI = NLPD.NonLocalDeps;
1626
1627
// The cache is not valid for any specific block anymore.
- NonLocalPointerDeps[P].Pair = BBSkipFirstBlockPair();
1628
+ NLPD.Pair = BBSkipFirstBlockPair();
1629
1630
// Update any entries for RemInst to use the instruction after it.
1631
for (auto &Entry : NLPDI) {
0 commit comments