[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:08:43 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building `clang,llvm` at step 7 "ninja check 1".

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

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

```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang -cc1 -internal-isystem /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/lib/clang/21/include -nostdsysteminc -triple amdgcn-amd-amdhsa -mllvm -amdgpu-enable-hipstdpar -flto -emit-llvm-bc -fcuda-is-device -fdebug-pass-manager   /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp -o /dev/null 2>&1 | /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck --check-prefix=HIPSTDPAR-PRE /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp # RUN: at line 4
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang -cc1 -internal-isystem /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/lib/clang/21/include -nostdsysteminc -triple amdgcn-amd-amdhsa -mllvm -amdgpu-enable-hipstdpar -flto -emit-llvm-bc -fcuda-is-device -fdebug-pass-manager /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp -o /dev/null
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck --check-prefix=HIPSTDPAR-PRE /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/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: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/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 '--enable-ipra'? 
check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


```

</details>

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


More information about the llvm-commits mailing list