[clang] [HLSL] Add implicit resource element type concepts to AST (PR #112600)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 14 17:08:23 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang` at step 6 "Add check check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/10923
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: AST/HLSL/RasterizerOrderedStructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/AST/HLSL/RasterizerOrderedStructuredBuffer-AST.hlsl | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=EMPTY /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/AST/HLSL/RasterizerOrderedStructuredBuffer-AST.hlsl
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=EMPTY /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/AST/HLSL/RasterizerOrderedStructuredBuffer-AST.hlsl
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/AST/HLSL/RasterizerOrderedStructuredBuffer-AST.hlsl
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/AST/HLSL/RasterizerOrderedStructuredBuffer-AST.hlsl:15:16: error: EMPTY-NEXT: expected string not found in input
// EMPTY-NEXT: TemplateTypeParmDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type
^
<stdin>:47:107: note: scanning from here
| `-ClassTemplateDecl 0xc81a9b0 <<invalid sloc>> <invalid sloc> implicit RasterizerOrderedStructuredBuffer
^
<stdin>:48:5: note: possible intended match here
| |-TemplateTypeParmDecl 0xc81a910 <<invalid sloc>> <invalid sloc> typename depth 0 index 0 element_type
^
Input file: <stdin>
Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/AST/HLSL/RasterizerOrderedStructuredBuffer-AST.hlsl
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
42: | | `-FinalAttr 0xc81a0d8 <<invalid sloc>> Implicit final
43: | |-ClassTemplateDecl 0xc81a5c0 <<invalid sloc>> <invalid sloc> implicit ConsumeStructuredBuffer
44: | | |-TemplateTypeParmDecl 0xc81a520 <<invalid sloc>> <invalid sloc> typename depth 0 index 0 element_type
45: | | `-CXXRecordDecl 0xc81a420 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class ConsumeStructuredBuffer
46: | | `-FinalAttr 0xc81a4c8 <<invalid sloc>> Implicit final
47: | `-ClassTemplateDecl 0xc81a9b0 <<invalid sloc>> <invalid sloc> implicit RasterizerOrderedStructuredBuffer
next:15'0 X error: no match found
48: | |-TemplateTypeParmDecl 0xc81a910 <<invalid sloc>> <invalid sloc> typename depth 0 index 0 element_type
next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:15'1 ? possible intended match
49: | `-CXXRecordDecl 0xc81a810 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RasterizerOrderedStructuredBuffer
next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50: | `-FinalAttr 0xc81a8b8 <<invalid sloc>> Implicit final
next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51: |-ConceptDecl 0xc7ef030 <<invalid sloc>> <invalid sloc> __is_typed_resource_element_compatible
next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52: | |-TemplateTypeParmDecl 0xc7eef18 <<invalid sloc>> <invalid sloc> referenced typename depth 0 index 0 element_type
next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53: | `-BinaryOperator 0xc7ef010 <<invalid sloc>> 'bool' lvalue '<='
next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
...
```
</details>
https://github.com/llvm/llvm-project/pull/112600
More information about the cfe-commits
mailing list