Revert 315440 on behalf of mkazantsev
authorPhilip Reames <listmail@philipreames.com>
Tue, 17 Oct 2017 06:21:07 +0000 (06:21 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 17 Oct 2017 06:21:07 +0000 (06:21 +0000)
commit6a7bbfb2e26ce9a39a69fccff8383ba7f484e2e2
tree521d9bbcf0ebc4ef97e9bce7ab7f039b36f07b31
parent3229217620f536df68c4ab1bb4888370eef0458f
Revert 315440 on behalf of mkazantsev

This patch reverts rL315440 because of the bug described at
https://bugs.llvm.org/show_bug.cgi?id=34937

The fix for the bug is on review as D38944, but not yet ready.  Given this is a regression reverting until a fix is ready is called for.

Max would have done the revert himself, but is having trouble doing a build of fresh LLVM for some reason.  I did the build and test to ensure the revert worked as expected on his behalf.

llvm-svn: 315974
llvm/include/llvm/Transforms/Scalar/GVN.h
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/GVN/PRE/pre-load.ll