[PATCH] D46279: [LVI] Remove an assert on case which could happen in LazyValueInfo.

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 12:03:18 PDT 2018


trentxintong created this revision.
trentxintong added reviewers: reames, davide.
Herald added a subscriber: mgorny.

If an instruction is defined in a block not the the one we try to get
the value in. We will keep chasing up the predecessors till we figure
out a value for the Val*.

This, however, can take us up to the entry block even though we are
not looking at a function argment.


Repository:
  rL LLVM

https://reviews.llvm.org/D46279

Files:
  lib/Analysis/LazyValueInfo.cpp
  unittests/Analysis/CMakeLists.txt
  unittests/Analysis/LazyValueInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46279.144603.patch
Type: text/x-patch
Size: 4398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180430/7aa95171/attachment.bin>


More information about the llvm-commits mailing list