Add REQUIRES: asserts to a test that uses an asserts only flag.
authorAmara Emerson <amara@apple.com>
Wed, 9 Sep 2020 21:30:47 +0000 (14:30 -0700)
committerAmara Emerson <amara@apple.com>
Wed, 9 Sep 2020 21:31:12 +0000 (14:31 -0700)
llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir

index 6ed879d..0631ff8 100644 (file)
@@ -1,5 +1,10 @@
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
 # RUN: llc -debugify-and-strip-all-safe -O0 -run-pass=aarch64-prelegalizer-combiner --aarch64prelegalizercombinerhelper-only-enable-rule="opt_brcond_by_inverting_cond" -global-isel -verify-machineinstrs %s -o - | FileCheck %s
+
+# Need asserts for the only-enable-rule to work.
+
+# REQUIRES: asserts
+
 --- |
   target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
   target triple = "arm64-apple-ios5.0.0"