ninja: Entering directory `out/gn' [0/1] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /Users/thakis/src/llvm-project/out/gn/bin:/Users/thakis/src/llvm-project/out/gn/bin llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:468: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 22680 tests, 8 workers -- Testing: FAIL: Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl (1 of 22680) ******************** TEST 'Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/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 - /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl | llvm-cxxfilt | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl --check-prefixes=CHECK,DXIL # RUN: at line 1 + /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/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 - /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl --check-prefixes=CHECK,DXIL + llvm-cxxfilt /Users/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: /Users/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: FAIL: Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl (2 of 22680) ******************** TEST 'Clang :: CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/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 - /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl | llvm-cxxfilt | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl --check-prefixes=CHECK,DXIL # RUN: at line 1 + /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/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 - /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl + llvm-cxxfilt + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl --check-prefixes=CHECK,DXIL /Users/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: /Users/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: 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: 492.94s Total Discovered Tests: 48538 Skipped : 36 (0.07%) Unsupported : 560 (1.15%) Passed : 47908 (98.70%) Expectedly Failed: 32 (0.07%) 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.