Skip to content

[LoopVectorizer][NFC] Require asserts on maxbandwidth-regpressure.ll#149484

Merged
NickGuy-Arm merged 1 commit into
llvm:mainfrom
NickGuy-Arm:main
Jul 18, 2025
Merged

[LoopVectorizer][NFC] Require asserts on maxbandwidth-regpressure.ll#149484
NickGuy-Arm merged 1 commit into
llvm:mainfrom
NickGuy-Arm:main

Conversation

@NickGuy-Arm

Copy link
Copy Markdown
Contributor

@llvmbot

llvmbot commented Jul 18, 2025

Copy link
Copy Markdown
Member

@llvm/pr-subscribers-llvm-transforms

Author: Nicholas Guy (NickGuy-Arm)

Changes

Fix for buildbot failure: https://lab.llvm.org/buildbot/#/builders/11/builds/19837


Full diff: https://github.com/llvm/llvm-project/pull/149484.diff

1 Files Affected:

  • (modified) llvm/test/Transforms/LoopVectorize/AArch64/maxbandwidth-regpressure.ll (+1)
diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/maxbandwidth-regpressure.ll b/llvm/test/Transforms/LoopVectorize/AArch64/maxbandwidth-regpressure.ll
index ce639f9150078..2d1543185098f 100644
--- a/llvm/test/Transforms/LoopVectorize/AArch64/maxbandwidth-regpressure.ll
+++ b/llvm/test/Transforms/LoopVectorize/AArch64/maxbandwidth-regpressure.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -passes=loop-vectorize -vectorizer-maximize-bandwidth -debug-only=loop-vectorize -disable-output -force-vector-interleave=1 -enable-epilogue-vectorization=false -S < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-REGS-VP
 ; RUN: opt -passes=loop-vectorize -vectorizer-maximize-bandwidth -debug-only=loop-vectorize -disable-output -force-target-num-vector-regs=1 -force-vector-interleave=1 -enable-epilogue-vectorization=false -S < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-NOREGS-VP
 

@NickGuy-Arm NickGuy-Arm requested a review from fhahn July 18, 2025 09:19

@fhahn fhahn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

If possible, it might be preferable to use remarks, but one might be missing for register pressure.

@NickGuy-Arm NickGuy-Arm merged commit b5e3fff into llvm:main Jul 18, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants