Author: Arthur Eubanks Date: 2020-12-07T19:34:31-08:00 New Revision: deac8b1f450ff7d2d00218d962c3e7e5ff1ff86e
URL: https://github.com/llvm/llvm-project/commit/deac8b1f450ff7d2d00218d962c3e7e5ff1ff86e DIFF: https://github.com/llvm/llvm-project/commit/deac8b1f450ff7d2d00218d962c3e7e5ff1ff86e.diff LOG: [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. Added: Modified: llvm/test/Transforms/LoopFlatten/widen-iv.ll Removed: ################################################################################ diff --git a/llvm/test/Transforms/LoopFlatten/widen-iv.ll b/llvm/test/Transforms/LoopFlatten/widen-iv.ll index 9ac9215a8d95..a6b13e43c64a 100644 --- a/llvm/test/Transforms/LoopFlatten/widen-iv.ll +++ b/llvm/test/Transforms/LoopFlatten/widen-iv.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -loop-flatten -loop-flatten-widen-iv=true -verify-loop-info -verify-dom-info -verify-scev -verify | FileCheck %s --check-prefix=CHECK -; RUN: opt < %s -S -loop-flatten -loop-flatten-widen-iv=false -verify-loop-info -verify-dom-info -verify-scev -verify | FileCheck %s --check-prefix=DONTWIDEN +; RUN: opt < %s -S -loop-simplify -loop-flatten -loop-flatten-widen-iv=true -verify-loop-info -verify-dom-info -verify-scev -verify | FileCheck %s --check-prefix=CHECK +; RUN: opt < %s -S -loop-simplify -loop-flatten -loop-flatten-widen-iv=false -verify-loop-info -verify-dom-info -verify-scev -verify | FileCheck %s --check-prefix=DONTWIDEN target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits