[PATCH] D100560: [NewGVN] Use ExprResult to add extra predicate users.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 15 07:10:36 PDT 2021


fhahn created this revision.
fhahn added reviewers: davide, efriedma, asbirlea, ruiling.
Herald added a subscriber: hiraditya.
fhahn requested review of this revision.
Herald added a project: LLVM.

This patch updates performSymbolicPredicateInfoEvaluation to manage
registering additional dependencies using ExprResult. Similar to D99987 <https://reviews.llvm.org/D99987>,
this fixes an issues where we failed to track the correct dependency for
a phi-of-ops value, which is marked as temporary.

Fixes PR49873.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100560

Files:
  llvm/lib/Transforms/Scalar/NewGVN.cpp
  llvm/test/Transforms/NewGVN/phi-of-ops-simplification-dependencies.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100560.337754.patch
Type: text/x-patch
Size: 13087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210415/33487609/attachment.bin>


More information about the llvm-commits mailing list