Add "assert require" for the test added in df9158c9a45a6902c2b0394f9bd6512e3e441f31
authorHaojian Wu <hokein.wu@gmail.com>
Mon, 8 Mar 2021 13:15:39 +0000 (14:15 +0100)
committerHaojian Wu <hokein.wu@gmail.com>
Mon, 8 Mar 2021 13:17:26 +0000 (14:17 +0100)
The test is using "debug-only", it was failing in opt built mode.

llvm/test/Transforms/LoopInterchange/pr48113.ll

index cfb118c..3ba626a 100644 (file)
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -S -passes='loop-interchange' -debug-only=loop-interchange < %s 2>&1 > /dev/null | FileCheck %s
 
 ; Test case of PR48113.