Recommit "[GVN] Preserve loop related analysis/canonical forms."
commit84858d05c6eb54dbb1b68c89a3e5ead5b2a3bcd7
authorFlorian Hahn <flo@fhahn.com>
Wed, 31 Jul 2019 09:27:54 +0000 (31 09:27 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 31 Jul 2019 09:27:54 +0000 (31 09:27 +0000)
tree67feee65559cd1fe092d5fec16e070511e483674
parentf89f3b4ec163ae1e899103cfc16117d05b9270bf
Recommit "[GVN] Preserve loop related analysis/canonical forms."

This fixes some pipeline tests.
This reverts commit d0b6f42936bfb6d56d325c732ae79400c9c6016a.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367401 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CFG.h
include/llvm/Transforms/Scalar/GVN.h
lib/Analysis/CFG.cpp
lib/Transforms/Scalar/GVN.cpp
test/Other/opt-O2-pipeline.ll
test/Other/opt-O3-pipeline.ll
test/Other/opt-Os-pipeline.ll
test/Transforms/GVN/PRE/2011-06-01-NonLocalMemdepMiscompile.ll
test/Transforms/GVN/preserve-analysis.ll [new file with mode: 0644]