aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-07-10 16:40:15 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-07-10 17:49:16 +0300
commit2655a70a046b67abe3bca01059d8767030f6e1c9 (patch)
tree4bc7bc2a8699a53e8948444ffc364911a96c2655 /llvm/utils/FileCheck/FileCheck.cpp
parentef0ecb7b03332fd5076a7ea641eadf0d01cd32c0 (diff)
downloadllvm-2655a70a046b67abe3bca01059d8767030f6e1c9.zip
llvm-2655a70a046b67abe3bca01059d8767030f6e1c9.tar.gz
llvm-2655a70a046b67abe3bca01059d8767030f6e1c9.tar.bz2
[InstCombine] After merging store into successor, queue prev. store to be visited (PR46661)
We can happen to have a situation with many stores eligible for transform, but due to our visitation order (top to bottom), when we have processed the first eligible instruction, we would not try to reprocess the previous instructions that are now also eligible. So after we've successfully merged a store that was second-to-last instruction into successor, if the now-second-to-last instruction is also a such store that is eligible, add it to worklist to be revisited. Fixes https://bugs.llvm.org/show_bug.cgi?id=46661
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions