[test] Fix widen-iv.ll under NPM
authorArthur Eubanks <aeubanks@google.com>
Tue, 8 Dec 2020 03:19:37 +0000 (19:19 -0800)
committerArthur Eubanks <aeubanks@google.com>
Tue, 8 Dec 2020 03:34:31 +0000 (19:34 -0800)
commitdeac8b1f450ff7d2d00218d962c3e7e5ff1ff86e
tree9df3b1d14a5c95ab94ea842dbd748538ad476a3b
parent44bd8ea167f2138de9317196a7b199840e29fb59
[test] Fix widen-iv.ll under NPM

The -loop-flatten legacy pass preserves loop analyses. The legacy PM
will check all passes that preserve loop analyses that they preserve
LCSSA. This implicitly involves running -loop-simplify. The test
shouldn't depend on verify flags being set in order to run
-loop-simplify, so explicitly add it. The new PM ends up not running it
otherwise.
llvm/test/Transforms/LoopFlatten/widen-iv.ll