Skip to content

[NFC][hlsl][Sema] Simplify CBuffer Legacy Size Calculation Control Flow #127921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

V-FEXrt
Copy link
Contributor

@V-FEXrt V-FEXrt commented Feb 19, 2025

NFC: Small refactor to calculateLegacyCbufferSize()'s control flow to make each branch easier to flow/more visually distinct from each other

@llvmbot llvmbot added clang Clang issues not falling into any other category clang:frontend Language frontend issues, e.g. anything involving "Sema" HLSL HLSL Language Support labels Feb 19, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 19, 2025

@llvm/pr-subscribers-hlsl

@llvm/pr-subscribers-clang

Author: Ashley Coleman (V-FEXrt)

Changes

NFC: Small refactor to calculateLegacyCbufferSize()'s control flow to make each branch easier to flow/more visually distinct from each other


Full diff: https://github.com/llvm/llvm-project/pull/127921.diff

1 Files Affected:

  • (modified) clang/lib/Sema/SemaHLSL.cpp (+19-13)
diff --git a/clang/lib/Sema/SemaHLSL.cpp b/clang/lib/Sema/SemaHLSL.cpp
index 957c3a0888438..90b5278c76340 100644
--- a/clang/lib/Sema/SemaHLSL.cpp
+++ b/clang/lib/Sema/SemaHLSL.cpp
@@ -176,9 +176,9 @@ Decl *SemaHLSL::ActOnStartBuffer(Scope *BufferScope, bool CBuffer,
 // https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-packing-rules
 static unsigned calculateLegacyCbufferSize(const ASTContext &Context,
                                            QualType T) {
-  unsigned Size = 0;
   constexpr unsigned CBufferAlign = 16;
   if (const RecordType *RT = T->getAs<RecordType>()) {
+    unsigned Size = 0;
     const RecordDecl *RD = RT->getDecl();
     for (const FieldDecl *Field : RD->fields()) {
       QualType Ty = Field->getType();
@@ -191,22 +191,28 @@ static unsigned calculateLegacyCbufferSize(const ASTContext &Context,
       Size = llvm::alignTo(Size, FieldAlign);
       Size += FieldSize;
     }
-  } else if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) {
-    if (unsigned ElementCount = AT->getSize().getZExtValue()) {
-      unsigned ElementSize =
-          calculateLegacyCbufferSize(Context, AT->getElementType());
-      unsigned AlignedElementSize = llvm::alignTo(ElementSize, CBufferAlign);
-      Size = AlignedElementSize * (ElementCount - 1) + ElementSize;
-    }
-  } else if (const VectorType *VT = T->getAs<VectorType>()) {
+    return Size;
+  }
+
+  if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) {
+    unsigned ElementCount = AT->getSize().getZExtValue();
+    if (ElementCount == 0)
+      return 0;
+
+    unsigned ElementSize =
+        calculateLegacyCbufferSize(Context, AT->getElementType());
+    unsigned AlignedElementSize = llvm::alignTo(ElementSize, CBufferAlign);
+    return AlignedElementSize * (ElementCount - 1) + ElementSize;
+  }
+
+  if (const VectorType *VT = T->getAs<VectorType>()) {
     unsigned ElementCount = VT->getNumElements();
     unsigned ElementSize =
         calculateLegacyCbufferSize(Context, VT->getElementType());
-    Size = ElementSize * ElementCount;
-  } else {
-    Size = Context.getTypeSize(T) / 8;
+    return ElementSize * ElementCount;
   }
-  return Size;
+
+  return Context.getTypeSize(T) / 8;
 }
 
 // Validate packoffset:

Copy link
Contributor

@bob80905 bob80905 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great simplification!

@V-FEXrt V-FEXrt merged commit 5bf3748 into llvm:main Feb 20, 2025
13 checks passed
@V-FEXrt V-FEXrt deleted the nfc-hlsl-legacycbuffersize branch February 20, 2025 19:42
@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 20, 2025

LLVM Buildbot has detected a new failure on builder lldb-remote-linux-ubuntu running on as-builder-9 while building clang at step 16 "test-check-lldb-api".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/195/builds/5171

Here is the relevant piece of the build log for the reference
Step 16 (test-check-lldb-api) failure: Test just built components: check-lldb-api completed (failure)
...
PASS: lldb-api :: types/TestCharTypeExpr.py (1223 of 1232)
PASS: lldb-api :: types/TestIntegerType.py (1224 of 1232)
PASS: lldb-api :: types/TestRecursiveTypes.py (1225 of 1232)
PASS: lldb-api :: types/TestIntegerTypeExpr.py (1226 of 1232)
PASS: lldb-api :: python_api/watchpoint/watchlocation/TestTargetWatchAddress.py (1227 of 1232)
PASS: lldb-api :: types/TestShortType.py (1228 of 1232)
PASS: lldb-api :: types/TestLongTypes.py (1229 of 1232)
PASS: lldb-api :: types/TestShortTypeExpr.py (1230 of 1232)
PASS: lldb-api :: types/TestLongTypesExpr.py (1231 of 1232)
TIMEOUT: lldb-api :: python_api/process/cancel_attach/TestCancelAttach.py (1232 of 1232)
******************** TEST 'lldb-api :: python_api/process/cancel_attach/TestCancelAttach.py' FAILED ********************
Script:
--
/usr/bin/python3.12 /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/./bin --libcxx-include-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/include/c++/v1 --libcxx-include-target-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/include/aarch64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/./lib/aarch64-unknown-linux-gnu --arch aarch64 --build-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/./bin/lldb --compiler /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/bin/clang --dsymutil /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/./bin --lldb-obj-root /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/tools/lldb --lldb-libs-dir /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/./lib --platform-url connect://jetson-agx-2198.lab.llvm.org:1234 --platform-working-dir /home/ubuntu/lldb-tests --sysroot /mnt/fs/jetson-agx-ubuntu --env ARCH_CFLAGS=-mcpu=cortex-a78 --platform-name remote-linux --skip-category=lldb-server /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/test/API/python_api/process/cancel_attach -p TestCancelAttach.py
--
Exit Code: -9
Timeout: Reached timeout of 600 seconds

Command Output (stdout):
--
lldb version 21.0.0git (https://github.com/llvm/llvm-project.git revision 5bf37484c6b0fc38a63465a36890a11494e4fc07)
  clang revision 5bf37484c6b0fc38a63465a36890a11494e4fc07
  llvm revision 5bf37484c6b0fc38a63465a36890a11494e4fc07

--
Command Output (stderr):
--
WARNING:root:Custom libc++ is not supported for remote runs: ignoring --libcxx arguments
FAIL: LLDB (/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/bin/clang-aarch64) :: test_scripted_implementation (TestCancelAttach.AttachCancelTestCase.test_scripted_implementation)

--

********************
Slowest Tests:
--------------------------------------------------------------------------
600.04s: lldb-api :: python_api/process/cancel_attach/TestCancelAttach.py
180.97s: lldb-api :: commands/command/script_alias/TestCommandScriptAlias.py
70.46s: lldb-api :: commands/process/attach/TestProcessAttach.py
40.38s: lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py
35.19s: lldb-api :: functionalities/completion/TestCompletion.py
35.05s: lldb-api :: functionalities/single-thread-step/TestSingleThreadStepTimeout.py
26.12s: lldb-api :: python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
20.69s: lldb-api :: functionalities/gdb_remote_client/TestPlatformClient.py
20.57s: lldb-api :: commands/statistics/basic/TestStats.py
18.87s: lldb-api :: functionalities/thread/state/TestThreadStates.py
18.37s: lldb-api :: commands/dwim-print/TestDWIMPrint.py
14.82s: lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
14.69s: lldb-api :: commands/expression/expr-in-syscall/TestExpressionInSyscall.py
14.45s: lldb-api :: python_api/find_in_memory/TestFindRangesInMemory.py

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 20, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-windows running on premerge-windows-1 while building clang at step 8 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/7475

Here is the relevant piece of the build log for the reference
Step 8 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Driver/offload-Xarch.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe --target=x86_64-unknown-linux-gnu -x cuda C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c -Xarch_nvptx64 -O3 -S -nogpulib -nogpuinc -### 2>&1 | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=O3ONCE C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' --target=x86_64-unknown-linux-gnu -x cuda 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c' -Xarch_nvptx64 -O3 -S -nogpulib -nogpuinc '-###'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=O3ONCE 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# RUN: at line 4
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -x cuda C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c -Xarch_device -O3 -S -nogpulib -nogpuinc -### 2>&1 | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=O3ONCE C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -x cuda 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c' -Xarch_device -O3 -S -nogpulib -nogpuinc '-###'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=O3ONCE 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# RUN: at line 5
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -x hip C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c -Xarch_amdgcn -O3 -S -nogpulib -nogpuinc -### 2>&1 | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=O3ONCE C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -x hip 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c' -Xarch_amdgcn -O3 -S -nogpulib -nogpuinc '-###'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=O3ONCE 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# RUN: at line 6
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -fopenmp=libomp -fopenmp-targets=amdgcn-amd-amdhsa -nogpulib -nogpuinc    -Xarch_amdgcn -march=gfx90a -Xarch_amdgcn -O3 -S -### C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c 2>&1  | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=O3ONCE C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -fopenmp=libomp -fopenmp-targets=amdgcn-amd-amdhsa -nogpulib -nogpuinc -Xarch_amdgcn -march=gfx90a -Xarch_amdgcn -O3 -S '-###' 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=O3ONCE 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# RUN: at line 9
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -nogpulib -nogpuinc    -Xarch_nvptx64 -march=sm_52 -Xarch_nvptx64 -O3 -S -### C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c 2>&1  | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=O3ONCE C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -nogpulib -nogpuinc -Xarch_nvptx64 -march=sm_52 -Xarch_nvptx64 -O3 -S '-###' 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=O3ONCE 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# RUN: at line 15
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda,amdgcn-amd-amdhsa -nogpulib    --target=x86_64-unknown-linux-gnu -Xopenmp-target=nvptx64-nvidia-cuda --offload-arch=sm_52,sm_60 -nogpuinc    -Xopenmp-target=amdgcn-amd-amdhsa --offload-arch=gfx90a,gfx1030 -ccc-print-bindings -### C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c 2>&1  | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=OPENMP C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda,amdgcn-amd-amdhsa -nogpulib --target=x86_64-unknown-linux-gnu -Xopenmp-target=nvptx64-nvidia-cuda --offload-arch=sm_52,sm_60 -nogpuinc -Xopenmp-target=amdgcn-amd-amdhsa --offload-arch=gfx90a,gfx1030 -ccc-print-bindings '-###' 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=OPENMP 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# RUN: at line 31
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -x cuda C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c --offload-arch=sm_52,sm_60 -Xarch_sm_52 -O3 -Xarch_sm_60 -O0    --target=x86_64-unknown-linux-gnu -Xarch_host -O3 -S -nogpulib -nogpuinc -### 2>&1  | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=CUDA C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -x cuda 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c' --offload-arch=sm_52,sm_60 -Xarch_sm_52 -O3 -Xarch_sm_60 -O0 --target=x86_64-unknown-linux-gnu -Xarch_host -O3 -S -nogpulib -nogpuinc '-###'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=CUDA 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# RUN: at line 39
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -fopenmp=libomp --offload-arch=gfx90a -nogpulib -nogpuinc    --target=x86_64-unknown-linux-gnu -Xarch_amdgcn -Wl,-lfoo -### C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c 2>&1  | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe -check-prefix=LIBS C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -fopenmp=libomp --offload-arch=gfx90a -nogpulib -nogpuinc --target=x86_64-unknown-linux-gnu -Xarch_amdgcn -Wl,-lfoo '-###' 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' -check-prefix=LIBS 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c'
# .---command stderr------------
# | C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c:45:10: error: LIBS: expected string not found in input
# | // LIBS: "--device-linker=amdgcn-amd-amdhsa=-lfoo"
# |          ^
# | <stdin>:1:1: note: scanning from here
# | clang version 21.0.0git (https://github.com/llvm/llvm-project.git 5bf37484c6b0fc38a63465a36890a11494e4fc07)
# | ^
# | <stdin>:6:1370: note: possible intended match here
# |  "C:\\ws\\buildbot\\premerge-monolithic-windows\\build\\bin\\clang.exe" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "offload-Xarch.c" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\ws\\buildbot\\premerge-monolithic-windows\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\ws\\buildbot\\premerge-monolithic-windows\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\ws\\buildbot\\premerge-monolithic-windows\\build\\lib\\clang\\21" "-internal-isystem" "C:\\ws\\buildbot\\premerge-monolithic-windows\\build\\lib\\clang\\21\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\ws\\buildbot\\premerge-monolithic-windows\\build\\lib\\clang\\21\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-ferror-limit" "19" "-fopenmp" "--no-offloadlib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-disable-llvm-passes" "-fopenmp-targets=amdgcn-amd-amdhsa" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-_4hzq7oe\\offload-Xarch-271d95.bc" "-x" "c" "C:\\ws\\buildbot\\premerge-monolithic-windows\\llvm-project\\clang\\test\\Driver\\offload-Xarch.c"
# |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
# | 
# | Input file: <stdin>
# | Check file: C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Driver\offload-Xarch.c
...

@damyanp damyanp moved this to Closed in HLSL Support Apr 25, 2025
@damyanp damyanp removed this from HLSL Support Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:frontend Language frontend issues, e.g. anything involving "Sema" clang Clang issues not falling into any other category HLSL HLSL Language Support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants