[PATCH] D138730: [Analysis] Remove unused fields in MemorySSA.cpp (NFC)
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 15:39:44 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG55378ae87cce: [Analysis] Remove unused fields in MemorySSA.cpp (NFC) (authored by kazu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138730/new/
https://reviews.llvm.org/D138730
Files:
llvm/lib/Analysis/MemorySSA.cpp
Index: llvm/lib/Analysis/MemorySSA.cpp
===================================================================
--- llvm/lib/Analysis/MemorySSA.cpp
+++ llvm/lib/Analysis/MemorySSA.cpp
@@ -359,7 +359,6 @@
const Instruction *Inst = nullptr;
// The MemoryAccess we actually got called with, used to test local domination
const MemoryAccess *OriginalAccess = nullptr;
- Optional<AliasResult> AR = AliasResult(AliasResult::MayAlias);
bool SkipSelfAccess = false;
UpwardsMemoryQuery() = default;
@@ -1306,7 +1305,6 @@
// This is where the last walk for this memory location ended.
unsigned long LastKill;
bool LastKillValid;
- Optional<AliasResult> AR;
};
void optimizeUsesInBlock(const BasicBlock *, unsigned long &, unsigned long &,
@@ -1460,8 +1458,6 @@
--UpperBound;
}
- // Note: Phis always have AliasResult AR set to MayAlias ATM.
-
// At the end of this loop, UpperBound is either a clobber, or lower bound
// PHI walking may cause it to be < LowerBound, and in fact, < LastKill.
if (FoundClobberResult || UpperBound < LocInfo.LastKill) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138730.478404.patch
Type: text/x-patch
Size: 1111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221128/6f910ece/attachment.bin>
More information about the llvm-commits
mailing list