<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/61668>61668</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Build][Test] TEST 'Clang :: OpenMP/nvptx_nested_parallel_codegen.cpp
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            openmp,
            regression
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          chaitanyav
      </td>
    </tr>
</table>

<pre>
    The test below is failing, relevant log https://lab.llvm.org/buildbot/#/builders/238/builds/2118/steps/17/logs/stdio
```
FAIL: Clang :: OpenMP/nvptx_nested_parallel_codegen.cpp (11898 of 69062)
******************** TEST 'Clang :: OpenMP/nvptx_nested_parallel_codegen.cpp' FAILED ********************
Script:
--
: 'RUN: at line 3'; /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/17/include -nostdsysteminc -verify -fopenmp -fopenmp-cuda-mode -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp -o /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/tools/clang/test/OpenMP/Output/nvptx_nested_parallel_codegen.cpp.tmp-ppc-host.bc
: 'RUN: at line 4'; /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/17/include -nostdsysteminc -verify -fopenmp -fopenmp-cuda-mode -x c++ -triple nvptx64-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp -fopenmp-is-device -fopenmp-host-ir-file-path /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/tools/clang/test/OpenMP/Output/nvptx_nested_parallel_codegen.cpp.tmp-ppc-host.bc -o - -disable-llvm-optzns | /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck --allow-unused-prefixes /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp --check-prefix=CHECK1
: 'RUN: at line 5'; /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/17/include -nostdsysteminc -verify -fopenmp -fopenmp-cuda-mode -x c++ -triple i386-unknown-unknown -fopenmp-targets=nvptx-nvidia-cuda -emit-llvm-bc /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp -o /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/tools/clang/test/OpenMP/Output/nvptx_nested_parallel_codegen.cpp.tmp-x86-host.bc
: 'RUN: at line 6'; /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/17/include -nostdsysteminc -verify -fopenmp -fopenmp-cuda-mode -x c++ -triple nvptx-unknown-unknown -fopenmp-targets=nvptx-nvidia-cuda -emit-llvm /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp -fopenmp-is-device -fopenmp-host-ir-file-path /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/tools/clang/test/OpenMP/Output/nvptx_nested_parallel_codegen.cpp.tmp-x86-host.bc -o - -disable-llvm-optzns | /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck --allow-unused-prefixes /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp --check-prefix=CHECK2
: 'RUN: at line 7'; /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/17/include -nostdsysteminc -verify -fopenmp -fopenmp-cuda-mode -fexceptions -fcxx-exceptions -x c++ -triple nvptx-unknown-unknown -fopenmp-targets=nvptx-nvidia-cuda -emit-llvm /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp -fopenmp-is-device -fopenmp-host-ir-file-path /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/tools/clang/test/OpenMP/Output/nvptx_nested_parallel_codegen.cpp.tmp-x86-host.bc -o - -disable-llvm-optzns | /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck --allow-unused-prefixes /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp --check-prefix=CHECK2
--
Exit Code: 1
Command Output (stderr):
--
/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp:122:17: error: CHECK1-NEXT: expected string not found in input
// CHECK1-NEXT: [[ATOMIC_TEMP:%.*]] = alloca i32, align 4
 ^
<stdin>:117:31: note: scanning from here
 %C.addr = alloca ptr, align 8
                              ^
<stdin>:120:27: note: possible intended match here
 %1 = atomicrmw add ptr %0, i32 1 monotonic, align 4
                          ^
Input file: <stdin>
Check file: /b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/OpenMP/nvptx_nested_parallel_codegen.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
 .
            .
            .
          112: } 
          113: 
          114: ; Function Attrs: convergent mustprogress noinline nounwind optnone 
          115: define hidden void @_Z4workPi(ptr noundef %C) #1 { 
          116: entry: 
          117:  %C.addr = alloca ptr, align 8 
next:122'0                                   X error: no match found
          118:  store ptr %C, ptr %C.addr, align 8 
next:122'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          119:  %0 = load ptr, ptr %C.addr, align 8 
next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 120:  %1 = atomicrmw add ptr %0, i32 1 monotonic, align 4 
next:122'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:122'1 ?                           possible intended match
 121:  ret void 
next:122'0     ~~~~~~~~~~
          122: } 
next:122'0     ~~
          123:  
next:122'0     ~
 124: ; Function Attrs: convergent noinline norecurse nounwind 
next:122'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 125: define internal void @__omp_outlined__1_wrapper(i16 noundef zeroext %0, i32 noundef %1) #3 { 
next:122'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            .
 .
            .
>>>>>>
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsWVGP4jgS_jXmpWREnBDggQcaGt3obnZGt33S6l6QYxfgG8eObAfoebjffrIh3fQw3cNOz2lnVx1F3cSJ7a-qvvoqsbn3amMQp2R4Q4aLHm_D1rqp2HIVuLnnu15l5f30bosQ0AeoUNs9KA9rrrQyG8Lm4FDjjpsA2m5gG0LjST4jbEnYUvOqr_Wu7lu3IWxZtUrLyoZ0M-8a0HnCliwfdw3pMs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