diff options
author | Aditya Kumar <hiraditya@msn.com> | 2017-12-13 19:40:07 +0000 |
---|---|---|
committer | Aditya Kumar <hiraditya@msn.com> | 2017-12-13 19:40:07 +0000 |
commit | 49c03b11df5a6e0ddc065b706a0959361cf2e0de (patch) | |
tree | 4fc1c95dfc29f2abb80743c6790ec22d37b177e5 /llvm/unittests/Support/BinaryStreamTest.cpp | |
parent | 46af7316ea1d584e3e17604a7720300b9569d257 (diff) | |
download | llvm-49c03b11df5a6e0ddc065b706a0959361cf2e0de.zip llvm-49c03b11df5a6e0ddc065b706a0959361cf2e0de.tar.gz llvm-49c03b11df5a6e0ddc065b706a0959361cf2e0de.tar.bz2 |
[GVNHoist] Fix: PR35222 gvn-hoist incorrectly erases load
w.r.t. the paper
"A Practical Improvement to the Partial Redundancy Elimination in SSA Form"
(https://sites.google.com/site/jongsoopark/home/ssapre.pdf)
Proper dominance check was missing here, so having a loopinfo should not be required.
Committing this diff as this fixes the bug, if there are
further concerns, I'll be happy to work on them.
Differential Revision: https://reviews.llvm.org/D39781
llvm-svn: 320607
Diffstat (limited to 'llvm/unittests/Support/BinaryStreamTest.cpp')
0 files changed, 0 insertions, 0 deletions