More conservatively report status from LoopIdiomRecognize
authorJon Roelofs <jonathan_roelofs@apple.com>
Fri, 17 Jul 2020 20:58:44 +0000 (14:58 -0600)
committerJon Roelofs <jonathan_roelofs@apple.com>
Tue, 21 Jul 2020 15:32:22 +0000 (09:32 -0600)
commit4d75cc4b0a648ede4886fd98ce70d462f5d3994a
tree92816df8a8b61d57ff337a1ff981f4d8f1304a78
parent28da5759bd5a1009fe61303393b8a1633eeab4d7
More conservatively report status from LoopIdiomRecognize

Being "precise" here is getting us into trouble with one of the
EXPENSIVE_CHECKS buildbots, see [1].  Rather than reporting IR additions that
later get rolled back as "no change", instead we now conservatively report that
there was.

1: http://lists.llvm.org/pipermail/llvm-dev/2020-July/143509.html

Differential Revision: https://reviews.llvm.org/D84071
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp