[all-commits] [llvm/llvm-project] 1a3709: [SPIRV] Error for zero-length arrays if not a shad...
Nick Sarnie via All-commits
all-commits at lists.llvm.org
Tue Dec 2 10:25:21 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a3709cc7e88cbd354b6b102e87d02f379bce3b9
https://github.com/llvm/llvm-project/commit/1a3709cc7e88cbd354b6b102e87d02f379bce3b9
Author: Nick Sarnie <nick.sarnie at intel.com>
Date: 2025-12-02 (Tue, 02 Dec 2025)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/test/CodeGen/SPIRV/zero-length-array.ll
Log Message:
-----------
[SPIRV] Error for zero-length arrays if not a shader (#169732)
I had a case where the frontend was generating a zero elem array in
non-shader code so it was just crashing in a release build.
Add a real error and make it not crash.
---------
Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list