From: Florian Hahn Date: Sat, 1 Oct 2022 16:19:02 +0000 (+0100) Subject: [SimpleLoopUnswitch] Pass -verify-cfg-preserved to test. X-Git-Tag: upstream/17.0.6~31879 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05b0b48b50b873f29e4962fed986f1993ce292df;p=platform%2Fupstream%2Fllvm.git [SimpleLoopUnswitch] Pass -verify-cfg-preserved to test. This ensures PreservedCFGCheckerAnalysis is always added, independent of whether opt was built with assertions enabled or not. This fixes a few buildbot failures for bots that don't have assertions enabled. --- diff --git a/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll b/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll index 45f568b..b3cc693 100644 --- a/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll +++ b/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -enable-loop-distribute -passes='loop-distribute,loop-mssa(simple-loop-unswitch),loop-distribute' -o /dev/null -S -debug-pass-manager=verbose 2>&1 | FileCheck %s +; RUN: opt < %s -enable-loop-distribute -passes='loop-distribute,loop-mssa(simple-loop-unswitch),loop-distribute' -o /dev/null -S -verify-cfg-preserved -debug-pass-manager=verbose 2>&1 | FileCheck %s ; Running loop-distribute will result in LoopAccessAnalysis being required and