[PATCH] D114263: [SCEV] Simplify forgetSymbolicName() (NFCI)

Basroal teela via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 20:08:47 PDT 2023


tsaela added a comment.
Herald added a subscriber: StephenFan.

Hi
Your help is much appreciated.

const SCEV *StartVal = getSCEV(StartValueV);

  if (Start == StartVal) { 
    // Okay, for the entire analysis of this edge we assumed the PHI
    // to be symbolic.  We now need to go back and purge all of the
    // entries for the scalars that use the symbolic expression.
    forgetMemoizedResults(SymbolicName);
    insertValueToMap(PN, Shifted);

  


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114263/new/

https://reviews.llvm.org/D114263



More information about the llvm-commits mailing list