ninja: Entering directory `out/gn' [0/1] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using clang: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /usr/local/google/home/thakis/src/llvm-project/out/gn/bin:/usr/local/google/home/thakis/src/llvm-project/out/gn/bin llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 23819 tests, 64 workers -- Testing: FAIL: Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl (1 of 23819) ******************** TEST 'Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-pixel -finclude-default-header -emit-llvm -disable-llvm-passes -o - /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl | llvm-cxxfilt | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl --check-prefixes=CHECK,DXIL # RUN: at line 1 + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-pixel -finclude-default-header -emit-llvm -disable-llvm-passes -o - /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl + llvm-cxxfilt + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl --check-prefixes=CHECK,DXIL /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl:26:15: error: DXIL-NEXT: expected string not found in input // DXIL-NEXT: %[[VAL:.*]] = call i32 @llvm.dx.resource.updatecounter.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1) %[[HANDLE]], i8 1) ^ :165:62: note: scanning from here %0 = load target("dx.RawBuffer", float, 1, 1), ptr %__handle, align 4 ^ :165:62: note: with "HANDLE" equal to "0" %0 = load target("dx.RawBuffer", float, 1, 1), ptr %__handle, align 4 ^ :167:2: note: possible intended match here %2 = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1) %0, i32 %1) ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl -dump-input=help explains the following input dump. Input was: <<<<<< . . . 160: %Index.addr = alloca i32, align 4 161: store ptr %this, ptr %this.addr, align 4 162: store i32 %Index, ptr %Index.addr, align 4 163: %this1 = load ptr, ptr %this.addr, align 4 164: %__handle = getelementptr inbounds nuw %"class.hlsl::RasterizerOrderedStructuredBuffer", ptr %this1, i32 0, i32 0 165: %0 = load target("dx.RawBuffer", float, 1, 1), ptr %__handle, align 4 next:26'0 X~~~~~~~~~ error: no match found next:26'1 with "HANDLE" equal to "0" 166: %1 = load i32, ptr %Index.addr, align 4 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167: %2 = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1) %0, i32 %1) next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:26'2 ? possible intended match 168: %3 = load float, ptr %2, align 4 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169: ret float %3 next:26'0 ~~~~~~~~~~~~~~ 170: } next:26'0 ~~ 171: next:26'0 ~ 172: ; Function Attrs: alwaysinline convergent mustprogress norecurse nounwind next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: FAIL: Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl (2 of 23819) ******************** TEST 'Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -emit-llvm -disable-llvm-passes -o - /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl | llvm-cxxfilt | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl --check-prefixes=CHECK,DXIL # RUN: at line 1 + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -emit-llvm -disable-llvm-passes -o - /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl + llvm-cxxfilt + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl --check-prefixes=CHECK,DXIL /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl:29:15: error: DXIL-NEXT: expected string not found in input // DXIL-NEXT: %[[COUNTER:.*]] = call i32 @llvm.dx.resource.updatecounter.tdx.RawBuffer_f32_1_0t(target("dx.RawBuffer", float, 1, 0) %[[HANDLE]], i8 1) ^ :336:62: note: scanning from here %0 = load target("dx.RawBuffer", float, 1, 0), ptr %__handle, align 4 ^ :336:62: note: with "HANDLE" equal to "0" %0 = load target("dx.RawBuffer", float, 1, 0), ptr %__handle, align 4 ^ :338:2: note: possible intended match here %2 = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_0t(target("dx.RawBuffer", float, 1, 0) %0, i32 %1) ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl -dump-input=help explains the following input dump. Input was: <<<<<< . . . 331: %Index.addr = alloca i32, align 4 332: store ptr %this, ptr %this.addr, align 4 333: store i32 %Index, ptr %Index.addr, align 4 334: %this1 = load ptr, ptr %this.addr, align 4 335: %__handle = getelementptr inbounds nuw %"class.hlsl::RWStructuredBuffer", ptr %this1, i32 0, i32 0 336: %0 = load target("dx.RawBuffer", float, 1, 0), ptr %__handle, align 4 next:29'0 X~~~~~~~~~ error: no match found next:29'1 with "HANDLE" equal to "0" 337: %1 = load i32, ptr %Index.addr, align 4 next:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 338: %2 = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_0t(target("dx.RawBuffer", float, 1, 0) %0, i32 %1) next:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:29'2 ? possible intended match 339: %3 = load float, ptr %2, align 4 next:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 340: ret float %3 next:29'0 ~~~~~~~~~~~~~~ 341: } next:29'0 ~~ 342: next:29'0 ~ 343: ; Function Attrs: alwaysinline convergent mustprogress norecurse nounwind next:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (2): Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl Testing Time: 139.99s Total Discovered Tests: 48242 Skipped : 5 (0.01%) Unsupported : 569 (1.18%) Passed : 47637 (98.75%) Expectedly Failed: 29 (0.06%) Failed : 2 (0.00%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.