Skip to content

[NFC] Add an assertion requirement to an opt test #106027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

gandhi56
Copy link
Contributor

No description provided.

@llvmbot llvmbot added backend:AMDGPU LTO Link time optimization (regular/full LTO or ThinLTO) labels Aug 26, 2024
@llvmbot
Copy link
Member

llvmbot commented Aug 26, 2024

@llvm/pr-subscribers-lto

@llvm/pr-subscribers-backend-amdgpu

Author: Anshil Gandhi (gandhi56)

Changes

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

1 Files Affected:

  • (modified) llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll (+1)
diff --git a/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll b/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
index 42640f94537640..8228f21b56b132 100644
--- a/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
+++ b/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
@@ -2,6 +2,7 @@
 ; RUN: opt -passes="lto<O3>" -debug-only=amdgpu-attributor -S -o - %s 2>&1 | FileCheck %s --check-prefix=POST-LINK
 
 ; REQUIRES: amdgpu-registered-target
+; REQUIRES: asserts
 
 target triple = "amdgcn-amd-amdhsa"
 

@gandhi56 gandhi56 requested a review from chapuni August 26, 2024 02:45
@gandhi56 gandhi56 self-assigned this Aug 26, 2024
@gandhi56 gandhi56 merged commit d982882 into llvm:main Aug 26, 2024
8 of 11 checks passed
gandhi56 added a commit to gandhi56/llvm-project that referenced this pull request Aug 26, 2024
@gandhi56 gandhi56 deleted the asserts-requirement branch August 26, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:AMDGPU LTO Link time optimization (regular/full LTO or ThinLTO)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants