github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 55748 tests passed
* 1384 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.AST/HLSL/Textures-AST.hlsl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -o -
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl
--check-prefixes=CHECK,SRV -DTEXTURE=Texture2D -DINDEX_SIZE=2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -o -
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl:175:15:
warning: implicit conversion truncates vector: 'uint3' (aka 'vector<uint, 3>')
to 'vector<uint, 2>' (vector of 2 'uint' values) [-Wvector-conversion]
# | 175 | float x = t[i];
# | | ~ ^
# | 1 warning generated.
# `-----------------------------
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
--check-prefixes=CHECK,SRV -DTEXTURE=Texture2D -DINDEX_SIZE=2
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -o -
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl
--check-prefixes=CHECK,SRV,SRV-ARRAY -DTEXTURE=Texture2DArray -DINDEX_SIZE=3
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -o -
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
--check-prefixes=CHECK,SRV,SRV-ARRAY -DTEXTURE=Texture2DArray -DINDEX_SIZE=3
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -DRW=1 -o -
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl
--check-prefixes=CHECK,UAV,UAV-STORE,UAV-TRUNC -DTEXTURE=RWTexture2D
-DINDEX_SIZE=2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -DRW=1 -o -
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl:173:5:
warning: implicit conversion truncates vector: 'uint3' (aka 'vector<uint, 3>')
to 'vector<uint, 2>' (vector of 2 'uint' values) [-Wvector-conversion]
# | 173 | t[i] = 1.0f;
# | | ~ ^
# |
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl:175:15:
warning: implicit conversion truncates vector: 'uint3' (aka 'vector<uint, 3>')
to 'vector<uint, 2>' (vector of 2 'uint' values) [-Wvector-conversion]
# | 175 | float x = t[i];
# | | ~ ^
# | 2 warnings generated.
# `-----------------------------
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
--check-prefixes=CHECK,UAV,UAV-STORE,UAV-TRUNC -DTEXTURE=RWTexture2D
-DINDEX_SIZE=2
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2DArray -DRW=1 -o -
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl
--check-prefixes=CHECK,UAV,UAV-STORE,UAV-TRUNC -DTEXTURE=RWTexture2DArray
-DINDEX_SIZE=3
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2DArray -DRW=1 -o -
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl'
--check-prefixes=CHECK,UAV,UAV-STORE,UAV-TRUNC -DTEXTURE=RWTexture2DArray
-DINDEX_SIZE=3
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl:161:20:
error: UAV-TRUNC-NEXT: expected string not found in input
# | // UAV-TRUNC-NEXT: ImplicitCastExpr {{.*}} 'vector<uint, 2>'
<HLSLVectorTruncation>
# | ^
# | <stdin>:24968:188: note: scanning from here
# | | | | `-DeclRefExpr 0x23b46d2dbc0 <col:3>
'RWTexture2DArray<float>':'hlsl::RWTexture2DArray<float>' lvalue Var
0x23b46d23cb8 't' 'RWTexture2DArray<float>':'hlsl::RWTexture2DArray<float>'
# |
^
# | <stdin>:24969:43: note: possible intended match here
# | | | `-ImplicitCastExpr 0x23b46d2dc18 <col:5> 'uint3':'vector<uint, 3>'
<LValueToRValue>
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang\test\AST\HLSL\Textures-AST.hlsl
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 24963: |-BinaryOperator 0x23b46d2dd58 <line:173:3, col:10>
'hlsl_device float' lvalue '='
# | 24964: | |-CXXOperatorCallExpr 0x23b46d2dcc8 <col:3, col:6>
'hlsl_device float' lvalue '[]'
# | 24965: | | |-ImplicitCastExpr 0x23b46d2dcb0 <col:4, col:6>
'hlsl_device float &(*)(vector<unsigned int, 3>) const'
<FunctionToPointerDecay>
# | 24966: | | | `-DeclRefExpr 0x23b46d2dc30 <col:4, col:6>
'hlsl_device float &(vector<unsigned int, 3>) const' lvalue CXXMethod
0x23b46d2a9a0 'operator[]' 'hlsl_device float &(vector<unsigned int, 3>) const'
# | 24967: | | |-ImplicitCastExpr 0x23b46d2dc00 <col:3> 'const
hlsl::RWTexture2DArray<float>' lvalue <NoOp>
# | 24968: | | | `-DeclRefExpr 0x23b46d2dbc0 <col:3>
'RWTexture2DArray<float>':'hlsl::RWTexture2DArray<float>' lvalue Var
0x23b46d23cb8 't' 'RWTexture2DArray<float>':'hlsl::RWTexture2DArray<float>'
# | next:161'0
{ search range start (exclusive)
# | next:161'1
error: no match found in
search range
# | 24969: | | `-ImplicitCastExpr 0x23b46d2dc18 <col:5>
'uint3':'vector<uint, 3>' <LValueToRValue>
# | next:161'2 ?
possible intended match
# | 24970: | | `-DeclRefExpr 0x23b46d2dbe0 <col:5>
'uint3':'vector<uint, 3>' lvalue Var 0x23b46d2d908 'i' 'uint3':'vector<uint,
3>'
# | 24971: | `-FloatingLiteral 0x23b46d2dd30 <col:10> 'float'
1.000000e+00
# | 24972: |-DeclStmt 0x23b46d2df20 <line:175:3, col:17>
# | 24973: | `-VarDecl 0x23b46d2dda8 <col:3, col:16> col:9 used x
'float' cinit
# | 24974: | `-ImplicitCastExpr 0x23b46d2def0 <col:13, col:16> 'float'
<LValueToRValue>
# | .
# | .
# | .
# | 25014: | `-DeclRefExpr 0x23b46d2e1a0 <col:22> 'uint':'unsigned
int' lvalue Var 0x23b46d2e040 'h' 'uint':'unsigned int'
# | 25015: `-ImplicitCastExpr 0x23b46d2e338 <col:22> 'unsigned int'
<LValueToRValue>
# | 25016: `-OpaqueValueExpr 0x23b46d2e320 <col:22> 'unsigned int'
lvalue
# | 25017: `-ImplicitCastExpr 0x23b46d2e308 <col:22> 'uint':'unsigned
int' <LValueToRValue>
# | 25018: `-OpaqueValueExpr 0x23b46d2e2f0 <col:22> 'uint':'unsigned
int' lvalue
# | 25019: `-DeclRefExpr 0x23b46d2e1a0 <col:22> 'uint':'unsigned int'
lvalue Var 0x23b46d2e040 'h' 'uint':'unsigned int'
# | next:161'3
} search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGenHLSL/resources/Textures-GetDimensions.hlsl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2D -DDXIL_TY=2 -DRW=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2D -DDXIL_TY=2 -DRW=0
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2D -DARRAYED=0 -DSAMPLED=1
-DIMG_FMT=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2D -DARRAYED=0 -DSAMPLED=1
-DIMG_FMT=0
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2DArray -DDXIL_TY=7 -DRW=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2DArray -DDXIL_TY=7 -DRW=0
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2DArray -DARRAYED=1 -DSAMPLED=1
-DIMG_FMT=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2DArray -DARRAYED=1 -DSAMPLED=1
-DIMG_FMT=0
# note: command had no output on stdout or stderr
# RUN: at line 10
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=RWTexture2D -DDXIL_TY=2 -DRW=1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=RWTexture2D -DDXIL_TY=2 -DRW=1
# note: command had no output on stdout or stderr
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,SPIRV -DTEXTURE=RWTexture2D -DARRAYED=0 -DSAMPLED=2
-DIMG_FMT=1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,SPIRV -DTEXTURE=RWTexture2D -DARRAYED=0 -DSAMPLED=2
-DIMG_FMT=1
# note: command had no output on stdout or stderr
# RUN: at line 14
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2DArray -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=RWTexture2DArray -DDXIL_TY=7 -DRW=1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2DArray -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=RWTexture2DArray -DDXIL_TY=7 -DRW=1
# note: command had no output on stdout or stderr
# RUN: at line 15
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2DArray -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
--check-prefixes=CHECK,SPIRV -DTEXTURE=RWTexture2DArray -DARRAYED=1
-DSAMPLED=2 -DFORMAT=1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2DArray -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl'
--check-prefixes=CHECK,SPIRV -DTEXTURE=RWTexture2DArray -DARRAYED=1
-DSAMPLED=2 -DFORMAT=1
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl:30:99:
error: undefined variable: IMG_FMT
# | // SPIRV: %[[HANDLE:.*]] = load target("spirv.Image", float, 1, 2,
[[ARRAYED]], 0, [[SAMPLED]], [[IMG_FMT]]), ptr %[[HANDLE_GEP]]
# |
^
# | <stdin>:98:98: note: with "ARRAYED" equal to "1"
# | %__handle = getelementptr inbounds nuw %"class.hlsl::RWTexture2DArray",
ptr %this1, i32 0, i32 0
# |
^
# | <stdin>:98:98: note: with "SAMPLED" equal to "2"
# | %__handle = getelementptr inbounds nuw %"class.hlsl::RWTexture2DArray",
ptr %this1, i32 0, i32 0
# |
^
# | <stdin>:98:98: note: with "HANDLE_GEP" equal to "__handle"
# | %__handle = getelementptr inbounds nuw %"class.hlsl::RWTexture2DArray",
ptr %this1, i32 0, i32 0
# |
^
# | <stdin>:98:98: note: pattern attempts to capture variables: "HANDLE"
# | %__handle = getelementptr inbounds nuw %"class.hlsl::RWTexture2DArray",
ptr %this1, i32 0, i32 0
# |
^
# | <stdin>:99:2: note: possible intended match here
# | %1 = load target("spirv.Image", float, 1, 2, 1, 0, 2, 1), ptr %__handle,
align 8
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-GetDimensions.hlsl
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 93: %height.addr = alloca ptr, align 8
# | 94: store ptr %this, ptr %this.addr, align 8
# | 95: store ptr %width, ptr %width.addr, align 8
# | 96: store ptr %height, ptr %height.addr, align 8
# | 97: %this1 = load ptr, ptr %this.addr, align 8
# | 98: %__handle = getelementptr inbounds nuw
%"class.hlsl::RWTexture2DArray", ptr %this1, i32 0, i32 0
# | check:30'0
{ search range start (exclusive)
# | check:30'1
error: match failed for invalid pattern
# | check:30'2
undefined variable: IMG_FMT
# | check:30'3
with "ARRAYED" equal to "1"
# | check:30'4
with "SAMPLED" equal to "2"
# | check:30'5
with "HANDLE_GEP" equal to "__handle"
# | check:30'6
pattern attempts to capture variables:
"HANDLE"
# | 99: %1 = load target("spirv.Image", float, 1, 2, 1, 0, 2, 1),
ptr %__handle, align 8
# | check:30'7 ?
possible intended match
# | 100: %2 = call <2 x i32>
@llvm.spv.resource.getdimensions.xy.tspirv.Image_f32_1_2_1_0_2_1t(target("spirv.Image",
float, 1, 2, 1, 0, 2, 1) %1)
# | 101: %3 = load ptr, ptr %width.addr, align 8, !nonnull !2,
!align !3
# | 102: %4 = extractelement <2 x i32> %2, i64 0
# | 103: store i32 %4, ptr %3, align 4
# | 104: %5 = load ptr, ptr %height.addr, align 8, !nonnull !2,
!align !3
# | .
# | .
# | .
# | 342:
# | 343: !0 = !{i32 4, !"dx.disable_optimizations", i32 1}
# | 344: !1 = !{!"clang version 24.0.0git
(https://github.com/llvm/llvm-project
1c06ed7846e321552d297222c45e8368cec380e4)"}
# | 345: !2 = !{}
# | 346: !3 = !{i64 4}
# | 347: !4 = !{i64 8}
# | check:30'8 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGenHLSL/resources/Textures-Load.hlsl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -DLOCATION_TYPE=int3 -DZEROS=0 -o
-
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2D -DLOCATION_DIM=3 -DCOORD_DIM=2
-DCOORD_MASK="<i32 0, i32 1>" -DDXIL_TY=2 -DRW=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -DLOCATION_TYPE=int3 -DZEROS=0 -o
-
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2D -DLOCATION_DIM=3 -DCOORD_DIM=2
'-DCOORD_MASK=<i32 0, i32 1>' -DDXIL_TY=2 -DRW=0
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -DLOCATION_TYPE=int3 -DZEROS=0 -o
-
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2D -DLOCATION_DIM=3
-DCOORD_DIM=2 -DCOORD_MASK="<i32 0, i32 1>" -DARRAYED=0 -DSAMPLED=1 -DFORMAT1=0
-DFORMAT3=0 -DFORMAT6=0 -DFORMAT21=0 -DFORMAT24=0 -DFORMAT25=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2D -DLOCATION_TYPE=int3 -DZEROS=0 -o
-
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2D -DLOCATION_DIM=3
-DCOORD_DIM=2 '-DCOORD_MASK=<i32 0, i32 1>' -DARRAYED=0 -DSAMPLED=1 -DFORMAT1=0
-DFORMAT3=0 -DFORMAT6=0 -DFORMAT21=0 -DFORMAT24=0 -DFORMAT25=0
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -DLOCATION_TYPE=int4
-DZEROS=" 0, 0" -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2DArray -DLOCATION_DIM=4
-DCOORD_DIM=3 -DCOORD_MASK="<i32 0, i32 1, i32 2>" -DDXIL_TY=7 -DRW=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -DLOCATION_TYPE=int4
'-DZEROS= 0, 0' -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2DArray -DLOCATION_DIM=4
-DCOORD_DIM=3 '-DCOORD_MASK=<i32 0, i32 1, i32 2>' -DDXIL_TY=7 -DRW=0
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -DLOCATION_TYPE=int4
-DZEROS=" 0, 0" -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2DArray -DLOCATION_DIM=4
-DCOORD_DIM=3 -DCOORD_MASK="<i32 0, i32 1, i32 2>" -DARRAYED=1 -DSAMPLED=1
-DFORMAT1=0 -DFORMAT3=0 -DFORMAT6=0 -DFORMAT21=0 -DFORMAT24=0 -DFORMAT25=0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -DLOCATION_TYPE=int4
'-DZEROS= 0, 0' -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
--check-prefixes=CHECK,SPIRV -DTEXTURE=Texture2DArray -DLOCATION_DIM=4
-DCOORD_DIM=3 '-DCOORD_MASK=<i32 0, i32 1, i32 2>' -DARRAYED=1 -DSAMPLED=1
-DFORMAT1=0 -DFORMAT3=0 -DFORMAT6=0 -DFORMAT21=0 -DFORMAT24=0 -DFORMAT25=0
# note: command had no output on stdout or stderr
# RUN: at line 10
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -DLOCATION_TYPE=int3 -DZEROS=0
-o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=RWTexture2D -DLOCATION_DIM=3
-DCOORD_DIM=2 -DCOORD_MASK="<i32 0, i32 1>" -DDXIL_TY=2 -DRW=1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -DLOCATION_TYPE=int3 -DZEROS=0
-o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=RWTexture2D -DLOCATION_DIM=3
-DCOORD_DIM=2 '-DCOORD_MASK=<i32 0, i32 1>' -DDXIL_TY=2 -DRW=1
# note: command had no output on stdout or stderr
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -DLOCATION_TYPE=int3 -DZEROS=0
-o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
--check-prefixes=CHECK,SPIRV -DTEXTURE=RWTexture2D -DLOCATION_DIM=3
-DCOORD_DIM=2 -DCOORD_MASK="<i32 0, i32 1>" -DARRAYED=0 -DSAMPLED=2 -DFORMAT1=1
-DFORMAT3=3 -DFORMAT6=6 -DFORMAT21=21 -DFORMAT24=24 -DFORMAT25=25
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=RWTexture2D -DLOCATION_TYPE=int3 -DZEROS=0
-o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
--check-prefixes=CHECK,SPIRV -DTEXTURE=RWTexture2D -DLOCATION_DIM=3
-DCOORD_DIM=2 '-DCOORD_MASK=<i32 0, i32 1>' -DARRAYED=0 -DSAMPLED=2 -DFORMAT1=1
-DFORMAT3=3 -DFORMAT6=6 -DFORMAT21=21 -DFORMAT24=24 -DFORMAT25=25
# note: command had no output on stdout or stderr
# RUN: at line 14
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -DLOCATION_TYPE=int4
-DZEROS=" 0, 0" -o -
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
| llvm-cxxfilt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2DArray -DLOCATION_DIM=4
-DCOORD_DIM=3 -DCOORD_MASK="<i32 0, i32 1, i32 2>" -DDXIL_TY=7 -DRW=1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes
-finclude-default-header -DTEXTURE=Texture2DArray -DLOCATION_TYPE=int4
'-DZEROS= 0, 0' -o -
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
# note: command had no output on stdout or stderr
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl'
--check-prefixes=CHECK,DXIL -DTEXTURE=Texture2DArray -DLOCATION_DIM=4
-DCOORD_DIM=3 '-DCOORD_MASK=<i32 0, i32 1, i32 2>' -DDXIL_TY=7 -DRW=1
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl:39:10:
error: DXIL: expected string not found in input
# | // DXIL: %[[RES:.*]] = call {{.*}} <4 x float>
@llvm.dx.resource.load.level.v4f32.tdx.Texture_v4f32_{{.*}}(target("dx.Texture",
<4 x float>, [[RW]], 0, 0, [[DXIL_TY]]) %[[HANDLE]], <[[COORD_DIM]] x i32>
%[[COORD]], i32 %[[LOD]], <2 x i32> zeroinitializer)
# | ^
# | <stdin>:118:53: note: scanning from here
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# | <stdin>:118:53: note: with "RW" equal to "1"
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# | <stdin>:118:53: note: with "DXIL_TY" equal to "7"
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# | <stdin>:118:53: note: with "HANDLE" equal to "1"
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# | <stdin>:118:53: note: with "COORD_DIM" equal to "3"
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# | <stdin>:118:53: note: with "COORD" equal to "hlsl.load.coord"
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# | <stdin>:118:53: note: with "LOD" equal to "hlsl.load.lod"
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# | <stdin>:118:53: note: pattern attempts to capture variables: "RES"
# | %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\resources\Textures-Load.hlsl
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 113: %this1 = load ptr, ptr %this.addr, align 4
# | 114: %__handle = getelementptr inbounds nuw
%"class.hlsl::Texture2DArray", ptr %this1, i32 0, i32 0
# | 115: %1 = load target("dx.Texture", <4 x float>, 0, 0, 0, 7),
ptr %__handle, align 4
# | 116: %2 = load <4 x i32>, ptr %Location.addr, align 4
# | 117: %hlsl.load.coord = shufflevector <4 x i32> %2, <4 x i32>
poison, <3 x i32> <i32 0, i32 1, i32 2>
# | 118: %hlsl.load.lod = extractelement <4 x i32> %2, i64 3
# | check:39'0 {
search range start (exclusive)
# | check:39'1
error: no match found in search range
# | check:39'2 with
"RW" equal to "1"
# | check:39'3 with
"DXIL_TY" equal to "7"
# | check:39'4 with
"HANDLE" equal to "1"
# | check:39'5 with
"COORD_DIM" equal to "3"
# | check:39'6 with
"COORD" equal to "hlsl.load.coord"
# | check:39'7 with
"LOD" equal to "hlsl.load.lod"
# | check:39'8
pattern attempts to capture variables: "RES"
# | 119: %3 = call reassoc nnan ninf nsz arcp afn <4 x float>
@llvm.dx.resource.load.level.v4f32.tdx.Texture_v4f32_0_0_0_7t.v3i32.i32.v2i32(target("dx.Texture",
<4 x float>, 0, 0, 0, 7) %1, <3 x i32> %hlsl.load.coord, i32 %hlsl.load.lod,
<2 x i32> zeroinitializer)
# | 120: ret <4 x float> %3
# | 121: }
# | 122:
# | 123: ; Function Attrs: alwaysinline convergent mustprogress
norecurse nounwind
# | .
# | .
# | .
# | 1877:
# | 1878: !0 = !{i32 1, i32 8}
# | 1879: !1 = !{i32 4, !"dx.disable_optimizations", i32 1}
# | 1880: !2 = !{!"clang version 24.0.0git
(https://github.com/llvm/llvm-project
1c06ed7846e321552d297222c45e8368cec380e4)"}
# | 1881: !3 = !{}
# | 1882: !4 = !{i64 4}
# | check:39'9 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/208725
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits