Revert "[SCEVExpander] Add option to preserve LCSSA directly."
authorFlorian Hahn <flo@fhahn.com>
Wed, 29 Jul 2020 18:17:24 +0000 (19:17 +0100)
committerFlorian Hahn <flo@fhahn.com>
Wed, 29 Jul 2020 18:19:04 +0000 (19:19 +0100)
commitdc2867576886247cbe351e7c63618c09ab6af808
tree9f3e2a9c53cada9f5b56fbb3cf8c3cd36b2f987b
parent82b6dec0ed1dd5a4fa5484009c42fa25e603a875
Revert "[SCEVExpander] Add option to preserve LCSSA directly."

This reverts commit 99166fd4fb422351f131fb1265cb85d5f6c5b8da, because it
breaks the polly builders.

polly/test/Isl/CodeGen/invariant_load_escaping_second_scop.ll fails
because a apparently unnecessary LCSSA phi node is introduced.

Make the bots green again, while I take a closer look.
llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp