Revert D84264 "[SCCP] Directly remove non-feasible edges" & 5db5b4bc4394ca247c9eb665e...
authorFangrui Song <maskray@google.com>
Fri, 24 Jul 2020 00:51:48 +0000 (17:51 -0700)
committerFangrui Song <maskray@google.com>
Fri, 24 Jul 2020 00:51:48 +0000 (17:51 -0700)
commit4637daa9905cbe12adba85fc88ea95a3be7db85d
treec9e3f494a6f6955df51019f1e206ecd34f1dcec7
parent412056e2d02fae43c6e7c8511c650e8458d55701
Revert D84264 "[SCCP] Directly remove non-feasible edges" & 5db5b4bc4394ca247c9eb665e03b851848aa2fbf

It breaks stage-2 build. Clang crashed when compiling
llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp

llvm/Support/GenericDomTree.h eraseNode: Node is not a leaf node
llvm/lib/Transforms/Scalar/SCCP.cpp
llvm/test/Transforms/SCCP/conditions-ranges.ll
llvm/test/Transforms/SCCP/predicateinfo-cond.ll
llvm/test/Transforms/SCCP/resolvedundefsin-tracked-fn.ll
llvm/test/Transforms/SCCP/switch-constantfold-crash.ll
llvm/test/Transforms/SCCP/switch.ll
llvm/test/Transforms/SCCP/widening.ll