[PATCH] D37528: [JumpThreading] Preserve dominance across the pass.
Brian Rzycki via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 16:48:47 PDT 2017
brzycki updated this revision to Diff 114284.
brzycki added a comment.
Preserves LVI across JumpThreading.
Removed unnecessary std::vector calls.
Fixed a bug when normal and unwind destinations were the same for one case.
Fixed the JumpThreading declaration of preserved/requires to make sure the dominator tree happens first so that LVI will properly instantiate the private LVI->DT variable.
https://reviews.llvm.org/D37528
Files:
llvm/include/llvm/Transforms/Scalar/JumpThreading.h
llvm/include/llvm/Transforms/Utils/Local.h
llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37528.114284.patch
Type: text/x-patch
Size: 39165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170907/b40e27fe/attachment.bin>
More information about the llvm-commits
mailing list