[llvm] 0a59647 - [SystemZ] misched-cutoff tests can only be tested on non-NDEBUG (assertion) builds

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 07:47:09 PST 2021


Author: Simon Pilgrim
Date: 2021-01-14T15:46:27Z
New Revision: 0a59647ee407524e6468cc5be4ba288861aa700d

URL: https://github.com/llvm/llvm-project/commit/0a59647ee407524e6468cc5be4ba288861aa700d
DIFF: https://github.com/llvm/llvm-project/commit/0a59647ee407524e6468cc5be4ba288861aa700d.diff

LOG: [SystemZ] misched-cutoff tests can only be tested on non-NDEBUG (assertion) builds

Fixes clang-with-thin-lto-ubuntu buildbot after D94383/rGddd03842c347

Added: 
    

Modified: 
    llvm/test/CodeGen/SystemZ/misched-cutoff.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/SystemZ/misched-cutoff.ll b/llvm/test/CodeGen/SystemZ/misched-cutoff.ll
index 0de80a22c301..859c7398f2cd 100644
--- a/llvm/test/CodeGen/SystemZ/misched-cutoff.ll
+++ b/llvm/test/CodeGen/SystemZ/misched-cutoff.ll
@@ -1,5 +1,7 @@
 ; RUN: llc -mtriple=s390x-linux-gnu -mcpu=z13 -misched-cutoff=1 -o /dev/null < %s
-;
+; REQUIRES: asserts
+; -misched=shuffle isn't available in NDEBUG builds!
+
 ; Test that the post-ra scheduler does not crash with -misched-cutoff.
 
 @g_184 = external dso_local global i16, align 2


        


More information about the llvm-commits mailing list