As @nikic is pointing out in https://bugs.llvm.org/show_bug.cgi?id=46680#c5,
InstCombine should not have forward instruction scans,
so let's move this transform into the proper place.
This is pretty much NFCI.
Differential D83670
[NFCI][InstCombine] Move store merging from `visitStoreInst()` into `visitUnconditionalBranchInst()` lebedev.ri on Jul 13 2020, 5:12 AM. Authored by
Details As @nikic is pointing out in https://bugs.llvm.org/show_bug.cgi?id=46680#c5, This is pretty much NFCI.
Diff Detail
Unit Tests Event Timeline
Comment Actions If changed, just return BI, let the usual handling deal with it.
|
Can we just return &BI; here, and let the usual reprocessing deal with it?