[clang] [llvm] [HIP][HIPSTDPAR][NFC] Re-order & adapt `hipstdpar` specific passes (PR #134753)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 14 15:04:35 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/18291

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/21/include -nostdsysteminc -triple amdgcn-amd-amdhsa -mllvm -amdgpu-enable-hipstdpar -flto -emit-llvm-bc -fcuda-is-device -fdebug-pass-manager   /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp -o /dev/null 2>&1 | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck --check-prefix=HIPSTDPAR-PRE /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp # RUN: at line 4
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/21/include -nostdsysteminc -triple amdgcn-amd-amdhsa -mllvm -amdgpu-enable-hipstdpar -flto -emit-llvm-bc -fcuda-is-device -fdebug-pass-manager /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp -o /dev/null
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck --check-prefix=HIPSTDPAR-PRE /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp:6:19: error: HIPSTDPAR-PRE: expected string not found in input
// HIPSTDPAR-PRE: Running pass: EntryExitInstrumenterPass
                  ^
<stdin>:1:1: note: scanning from here
clang (LLVM option parsing): Unknown command line argument '-amdgpu-enable-hipstdpar'. Try: 'clang (LLVM option parsing) --help'
^
<stdin>:1:26: note: possible intended match here
clang (LLVM option parsing): Unknown command line argument '-amdgpu-enable-hipstdpar'. Try: 'clang (LLVM option parsing) --help'
                         ^

Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: clang (LLVM option parsing): Unknown command line argument '-amdgpu-enable-hipstdpar'. Try: 'clang (LLVM option parsing) --help' 
check:6'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:6'1                              ?                                                                                                        possible intended match
           2: clang (LLVM option parsing): Did you mean '--aarch64-enable-pipeliner'? 
check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

********************


```

</details>

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


More information about the llvm-commits mailing list