From a9f79707624fe20e7ac19c5063d77190baa8b281 Mon Sep 17 00:00:00 2001 From: Amara Emerson Date: Wed, 9 Sep 2020 14:30:47 -0700 Subject: [PATCH] Add REQUIRES: asserts to a test that uses an asserts only flag. --- llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir b/llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir index 6ed879d..0631ff8 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" -- 2.7.4