[PATCH] D30790: [LVI] Add an LVI printer pass to capture test LVI cache after transformations

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 13:43:40 PST 2017


anna created this revision.

Adding a printer pass for printing the LVI cache values after transformations
that use LVI.
This will help us in identifying cases where LVI
invariants are violated, or transforms that leave LVI in an incorrect state.
Right now, I have added two test cases to show that the printer pass is working.
I will be adding more test cases in a later change, once this change is
checked in upstream.


https://reviews.llvm.org/D30790

Files:
  include/llvm/Analysis/LazyValueInfo.h
  include/llvm/InitializePasses.h
  lib/Analysis/Analysis.cpp
  lib/Analysis/LazyValueInfo.cpp
  test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30790.91214.patch
Type: text/x-patch
Size: 6540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170309/c697fb69/attachment.bin>


More information about the llvm-commits mailing list