[llvm] 05b0b48 - [SimpleLoopUnswitch] Pass -verify-cfg-preserved to test.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 1 09:20:52 PDT 2022
Author: Florian Hahn
Date: 2022-10-01T17:19:02+01:00
New Revision: 05b0b48b50b873f29e4962fed986f1993ce292df
URL: https://github.com/llvm/llvm-project/commit/05b0b48b50b873f29e4962fed986f1993ce292df
DIFF: https://github.com/llvm/llvm-project/commit/05b0b48b50b873f29e4962fed986f1993ce292df.diff
LOG: [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.
Added:
Modified:
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll b/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
index 45f568b5ae4e1..b3cc69398028e 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<nontrivial>),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<nontrivial>),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
More information about the llvm-commits
mailing list