Revert "[GVN] Perform Scalar PRE on gep indices that feed loads before doing Load...
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 13 Nov 2014 22:54:59 +0000 (22:54 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 13 Nov 2014 22:54:59 +0000 (22:54 +0000)
commit7984fde2dc026af6695b6fd77f98d424d8945dbe
tree5257cacf1e2f06d06ea4add2456018cff78da04b
parenta5408b9c7c51367a4b12f561284fb8483c0ea4e0
Revert "[GVN] Perform Scalar PRE on gep indices that feed loads before doing Load PRE."

This reverts commit r221924.  It appears the commit was a bit premature and is causing
bot failures that need further investigation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221939 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/pre-gep-load.ll [deleted file]