[llvm] edd0ef4 - Add "REQUIRES: asserts" to 2 tests added in #83379 using "-debug-only" run arguments.
Douglas Yung via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 22:07:08 PST 2024
Author: Douglas Yung
Date: 2024-03-01T01:06:42-05:00
New Revision: edd0ef4f3cb0ebc4eadc7a207edb9c849e894fc3
URL: https://github.com/llvm/llvm-project/commit/edd0ef4f3cb0ebc4eadc7a207edb9c849e894fc3
DIFF: https://github.com/llvm/llvm-project/commit/edd0ef4f3cb0ebc4eadc7a207edb9c849e894fc3.diff
LOG: Add "REQUIRES: asserts" to 2 tests added in #83379 using "-debug-only" run arguments.
Added:
Modified:
llvm/test/CodeGen/Hexagon/loop_align_count.ll
llvm/test/CodeGen/Hexagon/loop_align_count.mir
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/Hexagon/loop_align_count.ll b/llvm/test/CodeGen/Hexagon/loop_align_count.ll
index 07d7e4a8d61176..1f89d8e39495f6 100644
--- a/llvm/test/CodeGen/Hexagon/loop_align_count.ll
+++ b/llvm/test/CodeGen/Hexagon/loop_align_count.ll
@@ -1,6 +1,7 @@
; RUN: llc -march=hexagon -mcpu=hexagonv73 -O2 -mattr=+hvxv73,hvx-length64b \
; RUN: -debug-only=hexagon-loop-align 2>&1 < %s | FileCheck %s
; Validate that there are 4 bundles in the loop.
+; REQUIRES: asserts
; CHECK: Loop Align Pass:
; CHECK: Bundle Count : 4
diff --git a/llvm/test/CodeGen/Hexagon/loop_align_count.mir b/llvm/test/CodeGen/Hexagon/loop_align_count.mir
index afbd917f4f0db3..6955b525e1ad42 100644
--- a/llvm/test/CodeGen/Hexagon/loop_align_count.mir
+++ b/llvm/test/CodeGen/Hexagon/loop_align_count.mir
@@ -1,5 +1,6 @@
# RUN: llc -march=hexagon -O3 -run-pass hexagon-loop-align -o - %s\
# RUN: -debug-only=hexagon-loop-align -verify-machineinstrs 2>&1 | FileCheck %s
+# REQUIRES: asserts
# Test that we only count til endloop instruction and we align this
# loop to 32.
More information about the llvm-commits
mailing list