diff options
| author | Deric C. <cheung.deric@gmail.com> | 2025-11-06 11:09:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-06 11:09:05 -0800 |
| commit | 4c605e91244976fc7b746cfe8c0a90231b468ef7 (patch) | |
| tree | f866891478ed9099cb370cce061c9b4bbffbacb0 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
| parent | c145f2844b193363f08bb6194141310eae8992e1 (diff) | |
| download | llvm-4c605e91244976fc7b746cfe8c0a90231b468ef7.zip llvm-4c605e91244976fc7b746cfe8c0a90231b468ef7.tar.gz llvm-4c605e91244976fc7b746cfe8c0a90231b468ef7.tar.bz2 | |
[HLSL] [DirectX] Invert the result of `firstbithigh` (#166419)
Fixes #145752
This PR inverts the result of `firstbithigh` when targeting DirectX by
subtracting it from integer bitwidth - 1 to match the result from DXC.
The result is not inverted if `firstbithigh` returned -1 or when
targeting a backend other than DirectX.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions
