[llvm] a9f7970 - Add REQUIRES: asserts to a test that uses an asserts only flag.

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 14:31:26 PDT 2020


Author: Amara Emerson
Date: 2020-09-09T14:31:12-07:00
New Revision: a9f79707624fe20e7ac19c5063d77190baa8b281

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

LOG: Add REQUIRES: asserts to a test that uses an asserts only flag.

Added: 
    

Modified: 
    llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir b/llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir
index 6ed879d82b9b..0631ff89ade0 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir
@@ -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"


        


More information about the llvm-commits mailing list