[llvm] r318786 - removed unused private method decl. NFC

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 10:00:17 PST 2017


On Tue, Nov 21, 2017 at 9:53 AM, Nuno Lopes via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: nlopes
> Date: Tue Nov 21 09:53:19 2017
> New Revision: 318786
>
> URL: http://llvm.org/viewvc/llvm-project?rev=318786&view=rev
> Log:
> removed unused private method decl. NFC
>
> Modified:
>     llvm/trunk/lib/Analysis/MemorySSA.cpp
>
> Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=318786&r1=318785&r2=318786&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
> +++ llvm/trunk/lib/Analysis/MemorySSA.cpp Tue Nov 21 09:53:19 2017
> @@ -260,10 +260,10 @@ static bool instructionClobbersQuery(Mem
>      }
>    }
>
> -  if (UseCS) {
> +  /*if (UseCS) {
>      ModRefInfo I = AA.getModRefInfo(DefInst, UseCS);
>      return I != MRI_NoModRef;
> -  }
> +  }*/

Oops :-)
I uncommented in r318787

>
>    if (auto *DefLoad = dyn_cast<LoadInst>(DefInst)) {
>      if (auto *UseLoad = dyn_cast<LoadInst>(UseInst)) {
> @@ -892,7 +892,6 @@ class MemorySSA::CachingWalker final : p
>    bool AutoResetWalker = true;
>
>    MemoryAccess *getClobberingMemoryAccess(MemoryAccess *, UpwardsMemoryQuery &);
> -  void verifyRemoved(MemoryAccess *);
>
>  public:
>    CachingWalker(MemorySSA *, AliasAnalysis *, DominatorTree *);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list