[PATCH] D59349: Let CorrelatedValuePropagation preserve LazyValueInfo

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 01:35:50 PDT 2019


aqjune created this revision.
aqjune added reviewers: reames, mzolotukhin.
Herald added a project: LLVM.

This patch makes CorrelatedValuePropagation preserve LazyValueInfo by adding LazyValueInfo::eraseValue & calling it whenever an instruction is erased.

Passes `make check` , test-suite, and SPECrate 2017.


Repository:
  rL LLVM

https://reviews.llvm.org/D59349

Files:
  include/llvm/Analysis/LazyValueInfo.h
  lib/Analysis/LazyValueInfo.cpp
  lib/Transforms/Scalar/CorrelatedValuePropagation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59349.190573.patch
Type: text/x-patch
Size: 4418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190314/cf41291a/attachment.bin>


More information about the llvm-commits mailing list