SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [AMDGPU] DWARF For Heterogeneous Debugging (details)
  2. [AMDGPU] DWARF Proposal For Heterogeneous Debugging (details)
  3. [MC] Fix double negation of DW_CFA_def_cfa_offset (details)
  4. [X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation (details)
  5. [MC] Fix double negation of DW_CFA_def_cfa (details)
  6. [MC] Drop unneeded std::abs for DW_def_cfa_offset in DarwinX86AsmBackend::generateCompactUnwindEncoding (details)
  7. [Align] Remove operations on MaybeAlign that asserted that it had a defined value. (details)
  8. [TargetPassConfig] Don't add alias analysis at optnone (details)
Commit 1b58cbad018c3634f7b87bddba9465b250e9a7b4 by Tony.Tye
[AMDGPU] DWARF For Heterogeneous Debugging

- Change title to "DWARF For Heterogeneous Debugging".
- Add "Examples" section that references the AMDGPUUsage DWARF section.
- Make the "References" section a top level section.

Differential Revision: https://reviews.llvm.org/D70523
The file was modifiedllvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst
Commit 8a9f09df42867d05e9b2b64df715595a2aab647a by Tony.Tye
[AMDGPU] DWARF Proposal For Heterogeneous Debugging

- Change title to "DWARF Proposal For Heterogeneous Debugging".
The file was modifiedllvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst
Commit c693b9c321d5a40d012340619674cf790c9ac86c by maskray
[MC] Fix double negation of DW_CFA_def_cfa_offset

Negations are incorrectly added in two places and the code works just
because the negations cancel each other.
The file was modifiedllvm/lib/MC/MCDwarf.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
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/lib/Headers/avx512fintrin.h
The file was modifiedclang/test/CodeGen/avx512vlbw-builtins.c
The file was modifiedclang/test/CodeGen/avx512f-builtins.c
The file was modifiedclang/lib/Headers/avx512bwintrin.h
The file was modifiedclang/lib/Headers/avx512vlbwintrin.h
The file was modifiedclang/test/CodeGen/avx512bw-builtins.c
The file was modifiedclang/test/CodeGen/avx512vl-builtins.c
The file was modifiedclang/lib/Headers/avx512vlintrin.h
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/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/MC/MCDwarf.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.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
Commit 7392820f989048000562b8fa7dade023dddacb37 by craig.topper
[Align] Remove operations on MaybeAlign that asserted that it had a defined value.

If the caller needs to reponsible for making sure the MaybeAlign
has a value, then we should just make the caller convert it to an Align
with operator*.

I explicitly deleted the relational comparison operators that
were being inherited from Optional. It's unclear what the meaning
of two MaybeAligns were one is defined and the other isn't
should be. So make the caller reponsible for defining the behavior.

I left the ==/!= operators from Optional. But now that exposed a
weird quirk that ==/!= between Align and MaybeAlign required the
MaybeAlign to be defined. But now we use the operator== from
Optional that takes an Optional and the Value.

Differential Revision: https://reviews.llvm.org/D80455
The file was modifiedllvm/lib/IR/Globals.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/include/llvm/Support/Alignment.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/unittests/Support/AlignmentTest.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Commit 0c6bba71e3926edf19251425fa6435250f148ece by nikita.ppv
[TargetPassConfig] Don't add alias analysis at optnone

When performing codegen at optnone, don't add alias analysis to
the pipeline. We don't need it, but it causes an unnecessary
dominator tree calculation.

I've also moved the module verifier call to the top so that a bunch
of disabled-at-optnone passes group more nicely.

Differential Revision: https://reviews.llvm.org/D80378
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll
The file was modifiedllvm/test/CodeGen/X86/O3-pipeline.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/test/CodeGen/AArch64/O0-pipeline.ll
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll