diff options
author | Vyacheslav Levytskyy <vyacheslav.levytskyy@intel.com> | 2024-06-11 21:56:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 21:56:39 +0200 |
commit | 163d036d64609bf59183664aec244da5078dc1f1 (patch) | |
tree | 3b2a6a70ec97b561ef76e2f84e0e650b789ca6f6 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 6afbda7130c343be34b2f3c765b9c4c1b251b671 (diff) | |
download | llvm-163d036d64609bf59183664aec244da5078dc1f1.zip llvm-163d036d64609bf59183664aec244da5078dc1f1.tar.gz llvm-163d036d64609bf59183664aec244da5078dc1f1.tar.bz2 |
[SPIR-V] Validate and fix bit width of scalar registers (#95147)
This PR improves legalization process of SPIR-V instructions. Namely, it
introduces validation and fixing of bit width of scalar registers as a
part of pre-legalizer. A test case is added that demonstrates ability to
legalize instructions with non 8/16/32/64 bit width both with and
without vendor-specific SPIR-V extension
(SPV_INTEL_arbitrary_precision_integers). In the case of absence of the
extension, a generated SPIR-V code will fallback to 8/16/32/64 bit width
in OpTypeInt, but SPIR-V Backend still is able to legalize operations
with original integer sizes.
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions