diff options
| author | Folkert de Vries <folkert@folkertdev.nl> | 2025-12-09 19:52:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-09 18:52:17 +0000 |
| commit | 03160c186e90463402786b611826a1702420e1c7 (patch) | |
| tree | f881ea835e5fc735ccc2d888fe39ed6cd6492c5b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | 719826d33df18a2d386c008b11521275e9ec1d74 (diff) | |
| download | llvm-03160c186e90463402786b611826a1702420e1c7.zip llvm-03160c186e90463402786b611826a1702420e1c7.tar.gz llvm-03160c186e90463402786b611826a1702420e1c7.tar.bz2 | |
[X86] fix typo: `MCVTTP2SIS` -> `MCVTTP2UIS` (#171229)
This LLVM IR
https://godbolt.org/z/5bM1vrMY1
```llvm
define <4 x i32> @masked(<2 x double> %a, <4 x i32> %src, i8 noundef zeroext %mask) unnamed_addr #0 {
%r = tail call <4 x i32> @llvm.x86.avx10.mask.vcvttpd2udqs.128(<2 x double> %a, <4 x i32> %src, i8 noundef %mask)
ret <4 x i32> %r
}
define <4 x i32> @unmasked(<2 x double> %a) unnamed_addr #0 {
%r = tail call <4 x i32> @llvm.x86.avx10.mask.vcvttpd2udqs.128(<2 x double> %a, <4 x i32> zeroinitializer, i8 noundef -1)
ret <4 x i32> %r
}
declare <4 x i32> @llvm.x86.avx10.mask.vcvttpd2udqs.128(<2 x double>, <4 x i32>, i8) unnamed_addr
attributes #0 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" "target-features"="+avx10.2-512" }
```
produces
```asm
masked: # @masked
kmovd k1, edi
vcvttpd2dqs xmm1 {k1}, xmm0
vmovaps xmm0, xmm1
ret
unmasked: # @unmasked
vcvttpd2udqs xmm0, xmm0
ret
```
So, when a mask is used, somehow the signed version of this instruction
is selected. I suspect this is a typo.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
