SuccessChanges

Summary

  1. [X86] Use 128-bit vector instructions for f32/f64->i64 conversions on (details)
  2. [compiler-rt] Adapt stop-the-world for ptrace changes in NetBSD-9.99.30 (details)
  3. [compiler-rt] Adapt for ptrace(2) changes in NetBSD-9.99.30 (details)
  4. [lldb] Adapt for NetBSD-9.99.30 ptrace(2) API changes (details)
  5. AMDGPU/GlobalISel: Fix mapping and selection of llvm.amdgcn.div.fixup (details)
Commit c06e53119b1f04696fbcf710aaa0818cbfc99600 by craig.topper
[X86] Use 128-bit vector instructions for f32/f64->i64 conversions on
32-bit targets with avx512dq and avx512vl instructions.
On 32-bit targets we can't use the scalar instruction so we insert the
scalar into a vector and use packed conversions. Previously we used
either v4f32->v4i64 or v4f64->v4i64 to avoid some complexity creating
target specific ISD opcodes for v4f32->v2i64. But this causes extra
vzeroupper instructions and possibly frequency throttling on Intel CPUs.
This patch changes this to create a 128-bit vector and uses a target
specific ISD opcode if needed.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/scalar-fp-to-i64.ll
Commit fc356dcc11c10003ff22acff667b0a9f5e6c1e0f by n54
[compiler-rt] Adapt stop-the-world for ptrace changes in NetBSD-9.99.30
Handle PT_LWPNEXT for newer kernels and keep PT_LWPINFO for older ones.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cpp
Commit 4b8232d4f0bf5fd9f11ebef2b0f9e8e15f130fb3 by n54
[compiler-rt] Adapt for ptrace(2) changes in NetBSD-9.99.30
Enable compat support for now legacy PT_LWPINFO. Support PT_LWPSTATUS
and PT_LWPNEXT.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc
The file was modifiedcompiler-rt/utils/generate_netbsd_syscalls.awk
The file was modifiedcompiler-rt/include/sanitizer/netbsd_syscall_hooks.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
Commit ab8a7a29bf15c6eb1d4393516cde1688dbe7dc45 by n54
[lldb] Adapt for NetBSD-9.99.30 ptrace(2) API changes
Switch from PT_LWPINFO to PT_LWPSTATUS/PT_LWPNEXT.
Keep compat support for < 9.99.30.
No functional change intended.
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
Commit 1f054d667e2768505b6f8a18715181ab6c5a0e13 by arsenm2
AMDGPU/GlobalISel: Fix mapping and selection of llvm.amdgcn.div.fixup
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp