[PATCH] D57953: [Jump Threading] Convert conditional branches into unconditional branches using GVN results
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 26 03:19:06 PST 2019
fhahn added a comment.
In D57953#1796475 <https://reviews.llvm.org/D57953#1796475>, @masakiarai wrote:
> I'm sorry to stagnate this for a very long time.
> According to the reviewer's comments, I am preparing this as a new optimization pass as 'Control Dependent DCE'.
> With enhancements and additional test programs, I will submit a new review request.
I’ll take a closer look in a bit, but I think there might be a different approach using predicate info to solve this problem relatively easily. I’ll see if I can put something together. In general it should be enough to just simplify the condition to true and let other passes do the cCFG cleanup
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57953/new/
https://reviews.llvm.org/D57953
More information about the llvm-commits
mailing list