[llvm] [NVPTX] Fix NVPTXAA_before_BasicAA Test (PR #138992)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 7 16:44:38 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-analysis
Author: Chengjun (Chengjunp)
<details>
<summary>Changes</summary>
Fix the failed test in the [PR](https://github.com/llvm/llvm-project/pull/125965) by adding the REQUIRES for nvptx-registered-target.
---
Full diff: https://github.com/llvm/llvm-project/pull/138992.diff
1 Files Affected:
- (modified) llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll (+1-1)
``````````diff
diff --git a/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll b/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll
index 0d16b344e9f66..d43ab29a14cef 100644
--- a/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll
+++ b/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll
@@ -1,4 +1,4 @@
-; REQUIRES: asserts
+; REQUIRES: asserts, nvptx-registered-target
; RUN: opt -aa-pipeline=default -passes='require<aa>' -debug-pass-manager -disable-output -S < %s 2>&1 | FileCheck %s
; RUN: llc --debug-only='aa' -o /dev/null %s 2>&1 | FileCheck %s -check-prefix=LEGACY
``````````
</details>
https://github.com/llvm/llvm-project/pull/138992
More information about the llvm-commits
mailing list