[llvm] [NFC] Add an assertion requirement to an opt test (PR #106027)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 25 19:44:55 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-amdgpu

Author: Anshil Gandhi (gandhi56)

<details>
<summary>Changes</summary>



---
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
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"
 

``````````

</details>


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


More information about the llvm-commits mailing list