[llvm][examples][SimplifyCFG] Fix pass's IR changed reporting
authorJon Roelofs <jonathan_roelofs@apple.com>
Mon, 27 Jul 2020 19:37:35 +0000 (13:37 -0600)
committerJon Roelofs <jonathan_roelofs@apple.com>
Mon, 27 Jul 2020 19:39:58 +0000 (13:39 -0600)
commit6dadf7cb654ce131c1d05b3add8e30344b6d22be
tree53834901133b9d78040d9808512466822d7bc0d3
parent536baa11cfe12362ea646ad731a2274a07208cc0
[llvm][examples][SimplifyCFG] Fix pass's IR changed reporting

... under the EXPENSIVE_CHECKS build, this fails the assert in the LegacyPM
that verifies whether a pass really did leave the IR alone when it reports no
changes back from its return status.
llvm/examples/IRTransforms/SimplifyCFG.cpp