aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorFinn Plummer <finn.c.plum@gmail.com>2025-07-13 10:23:38 -0700
committerGitHub <noreply@github.com>2025-07-13 10:23:38 -0700
commit7ccdc595f8ecca0bc477c3e17683c52dca440845 (patch)
tree06c931280faa1082fc3fbdab774c6b33d711a203 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parentb6313b381ac0e83012ea11b4549cd8cb39b686d2 (diff)
downloadllvm-7ccdc595f8ecca0bc477c3e17683c52dca440845.zip
llvm-7ccdc595f8ecca0bc477c3e17683c52dca440845.tar.gz
llvm-7ccdc595f8ecca0bc477c3e17683c52dca440845.tar.bz2
[HLSL][RootSignature] Add basic parameter validations of Root Elements (#145795)
In this pr we go through and enforce the various bounded parameter values for non-flag values and the valid flag combinations for `RootDescriptor` and `DescriptorRange` flags. For reference of the required checks, please see here: https://github.com/llvm/wg-hlsl/blob/main/proposals/0002-root-signature-in-clang.md#validations-in-sema. - Updates `SemaHLSL` to iterate through `RootElement`s and verify that all non-flag parameters are within their bounds - Updates `SemaHLSL` to iterate through `RootElement`s and verify that all flag parameters are a valid combination - Extends `RootSignature-err.hlsl` with testcases for all invalid specifications - Adds `RootSignature-flags-err.hlsl` with testcase for invalid flag specifications Resolves: https://github.com/llvm/llvm-project/issues/129940
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions