SuccessChanges

Summary

  1. [NFC] Use assert instead of checking the guaranteed condition (details)
  2. [Docs][NewPM] Add note about required passes (details)
  3. Revert "[OpenMP][FIX] Verify compatible types for declare variant calls" (details)
  4. [X86] Add known bits test for PEXT. NFC (details)
  5. [X86] Add computeKnownBits support for PEXT. (details)
  6. [Driver] Filter out <libdir>/gcc and <libdir>/gcc-cross if they do not exists (details)
  7. This reduces code duplication between CGObjCMac.cpp and Mangle.cpp (details)
  8. [NFC][ARM] Comments and lambdas (details)
Commit e862e78b63f918c000ce65f9c475730e673a4966 by mkazantsev
[NFC] Use assert instead of checking the guaranteed condition

From preconditions it is known that either A dominates B or
B dominates A. If A does not dominate B, we do not really need
to check it. Assert should be enough. Should save some compile
time.
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit da036b4514702f3a7c1d2981ff11b3067bad4329 by aeubanks
[Docs][NewPM] Add note about required passes

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D88342
The file was modifiedllvm/docs/WritingAnLLVMNewPMPass.rst
Commit 4fc69ab002382675d84f611f22599cb3cb4a0787 by johannes
Revert "[OpenMP][FIX] Verify compatible types for declare variant calls"

This reverts commit c942095790decf525a445f3bd68fb9bcc9aa43c6.

One of the tests broke, revert to investigate.
The file was removedclang/test/AST/ast-dump-openmp-begin-declare-variant_template_3.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Commit a4b1fdec9172cdb40b583884efb2971ee3b7e991 by craig.topper
[X86] Add known bits test for PEXT. NFC
The file was modifiedllvm/test/CodeGen/X86/bmi2-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/bmi2.ll
Commit 82da0cabb918a13c1e5ae283d8bc9556131f922e by craig.topper
[X86] Add computeKnownBits support for PEXT.

The number of zeros in the mask provides a lower bound on the number
of leading zeros in the result.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/bmi2-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/bmi2.ll
Commit bc868da0e77a4f03b41654e0e9bbac28d95a5501 by dmantipov
[Driver] Filter out <libdir>/gcc and <libdir>/gcc-cross if they do not exists

Differential Revision: https://reviews.llvm.org/D87901
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h
Commit 98ef7e29b0fe03da77fa6ef5c86bea9e31c178d0 by rjmccall
This reduces code duplication between CGObjCMac.cpp and Mangle.cpp
for generating the mangled name of an Objective-C method.

This has no intended functionality change.

https://reviews.llvm.org/D88329
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/include/clang/AST/Mangle.h
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
The file was modifiedclang/lib/AST/Mangle.cpp
Commit 4c19b89b2587f321e1014a9855973c08a822b908 by sam.parker
[NFC][ARM] Comments and lambdas

Add some comments in LowOverheadLoops and make some lambda variables
explicit arguments instead of capturing.
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp