In case we are loading on a phi-load in SimplifyPartiallyRedundantLoad.
Try to phi translate it into incoming values in the predecessors before
we search for available loads.
This needs https://reviews.llvm.org/D30524
Differential D30543
[JumpThreading] Perform phi-translation in SimplifyPartiallyRedundantLoad. trentxintong on Mar 2 2017, 10:26 AM. Authored by
Details In case we are loading on a phi-load in SimplifyPartiallyRedundantLoad. This needs https://reviews.llvm.org/D30524
Diff Detail
Event Timeline
Comment Actions @dberlin can you please also take a look at https://reviews.llvm.org/D30524 ? Its needed for this patch. Thanks!
Comment Actions I already accepted it, so i can't accept it again :) Comment Actions can you please also take a look at https://reviews.llvm.org/D30524. Its a preparation patch for this patch. |
This logic looks overly complex.
Isn't this all simply
here, and then
(IE what it was before).