[PATCH] D152337: [SCCP] Replace new value's value state with removed value's

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 23:50:03 PDT 2023


StephenFan updated this revision to Diff 530163.
StephenFan added a comment.

Rename to moveLatticeValue.
Don't do insert in moveLatticeValue since the new value may have already existed in valuestate.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152337

Files:
  llvm/include/llvm/Transforms/Utils/SCCPSolver.h
  llvm/lib/Transforms/IPO/SCCP.cpp
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/test/Transforms/SCCP/add-nuw-nsw-flags.ll
  llvm/test/Transforms/SCCP/ip-ranges-sext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152337.530163.patch
Type: text/x-patch
Size: 8661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230610/8d7c1050/attachment.bin>


More information about the llvm-commits mailing list