diff options
| author | Chris B <chris.bieneman@me.com> | 2024-09-11 17:27:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-11 17:27:09 -0500 |
| commit | a29afb754fb445a2cccc361c556d4e072604b3be (patch) | |
| tree | 871ceb92a9232113d446eecac46bc4aa315900c3 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
| parent | a85883662ad1904844b1bd5a34bf93d9b383e3b8 (diff) | |
| download | llvm-a29afb754fb445a2cccc361c556d4e072604b3be.zip llvm-a29afb754fb445a2cccc361c556d4e072604b3be.tar.gz llvm-a29afb754fb445a2cccc361c556d4e072604b3be.tar.bz2 | |
[HLSL] Allow truncation to scalar (#104844)
HLSL allows implicit conversions to truncate vectors to scalar
pr-values. These conversions are scored as vector truncations and should
warn appropriately.
This change allows forming a truncation cast to a pr-value, but not an
l-value. Truncating a vector to a scalar is performed by loading the
first element of the vector and disregarding the remaining elements.
Fixes #102964
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions
