SuccessChanges

Summary

  1. [X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation (details)
  2. [MC] Fix double negation of DW_CFA_def_cfa (details)
  3. [MC] Drop unneeded std::abs for DW_def_cfa_offset in DarwinX86AsmBackend::generateCompactUnwindEncoding (details)
Commit 1b02db52b79e01f038775f59193a49850a34184d by craig.topper
[X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation

There are 65 that take a scalar shift amount. Intel documentation shows 60 of them taking unsigned int. There are 5 versions of srli_epi16 that use int, the 512-bit maskz and 128/256 mask/maskz.

Fixes PR45931

Differential Revision: https://reviews.llvm.org/D80251
The file was modifiedclang/test/CodeGen/avx512bw-builtins.c
The file was modifiedclang/lib/Headers/avx512bwintrin.h
The file was modifiedclang/lib/Headers/avx512fintrin.h
The file was modifiedclang/lib/Headers/avx512vlintrin.h
The file was modifiedclang/lib/Headers/avx512vlbwintrin.h
The file was modifiedclang/test/CodeGen/avx512f-builtins.c
The file was modifiedclang/test/CodeGen/avx512vlbw-builtins.c
The file was modifiedclang/test/CodeGen/avx512vl-builtins.c
Commit 773f8dbd1da8409f1b62e8c5692cb9a5d199d6c8 by maskray
[MC] Fix double negation of DW_CFA_def_cfa

Negations are incorrectly added in numerous places and the code just happens to work.
Also fix a missed DW_CFA_def_cfa_offset negation in c693b9c321d5a40d012340619674cf790c9ac86c:
ARMAsmBackendDarwin::generateCompactUnwindEncoding
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/lib/MC/MCDwarf.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
Commit 0f6bd9cda6c002050b610b886a43c282e4ca2807 by maskray
[MC] Drop unneeded std::abs for DW_def_cfa_offset in DarwinX86AsmBackend::generateCompactUnwindEncoding

This clean-up is available after double negation bugs are fixed.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp