SuccessChanges

Summary

  1. [AArch64] Add cost tests for bitreverse (details)
  2. [TableGen] Eliminate dead code in ParseForeachDeclaration [NFC] (details)
  3. [libc++abi] NFC: adding a new parameter base to functions for calculating addresses with relative encodings (details)
  4. [X86][NFC] Fix typo. (details)
  5. [clang] Do not crash when ArgTy is null in CheckArgAlignment (details)
  6. [clang][driver] Add -foperator-names (details)
  7. [clang][msvc] Define _HAS_STATIC_RTTI to 0, when compiling with -fno-rtti (details)
Commit de79919e9ec9c5ca1aaec54ca0a5f959739d48da by irina.dobrescu
[AArch64] Add cost tests for bitreverse

This patch includes cost tests for bit reverse as well as some adjustments to the cost model.

Differential Revision: https://reviews.llvm.org/D102755
The file was modifiedllvm/test/Analysis/CostModel/AArch64/bitreverse.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit 407c11b56337aab1b0c9880aa2f6ad1a348083c8 by Paul C. Anagnostopoulos
[TableGen] Eliminate dead code in ParseForeachDeclaration [NFC]

Differential Revision: https://reviews.llvm.org/D103904
The file was modifiedllvm/lib/TableGen/TGParser.cpp
Commit 7f0244afa828e0ef725a3f951304577090495713 by xingxue
    [libc++abi] NFC: adding a new parameter base to functions for calculating addresses with relative encodings

    Summary:
    This NFC patch adds a new parameter base to functions invoked by scan_eh_tab() for calculating the address of the encoding with a relative value. base defaults to 0. This is in preparation for the AIX implementation which uses the DW_EH_PE_datarel encoding.

    Reviewed by: MaskRay, sfertile, compnerd, libc++abi

    Differential Revision: https://reviews.llvm.org/D101545
The file was modifiedlibcxxabi/src/cxa_personality.cpp
Commit 63233da7230a9c7c674483ccc75976aba07197cb by yuanke.luo
[X86][NFC] Fix typo.
The file was modifiedllvm/lib/Target/X86/X86LowerAMXType.cpp
The file was modifiedllvm/lib/Target/X86/X86FastTileConfig.cpp
Commit 49eba8bf1780684f1173a455b909ce37008eaa09 by adamcz
[clang] Do not crash when ArgTy is null in CheckArgAlignment

This can happen around RecoveryExpr.

Differential Revision: https://reviews.llvm.org/D103825
The file was modifiedclang/test/SemaCXX/recovery-expr-type.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit 9833b57981c4e9402a326b5acd805e074cd2c802 by markus.boeck02
[clang][driver] Add -foperator-names

This patch adds the command line option -foperator-names which acts as the opposite of -fno-operator-names. With this command line option it is possible to reenable C++ operator keywords on the command line if -fno-operator-names had previously been passed.

Differential Revision: https://reviews.llvm.org/D103749
The file was addedclang/test/Driver/cxx-operator-names.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 936d6756ccfbe207a181b692b828f9fd8f1489f2 by markus.boeck02
[clang][msvc] Define _HAS_STATIC_RTTI to 0, when compiling with -fno-rtti

When using the -fno-rtti option of the GCC style clang++, using typeid results in an error. The MSVC STL however kindly provides a define flag called _HAS_STATIC_RTTI, which either enables or disables uses of typeid throughout the STL. By default, if undefined, it is set to 1, enabling the use of typeid.

With this patch, _HAS_STATIC_RTTI is set to 0 when -fno-rtti is specified. This way various headers of the MSVC STL like functional can be consumed without compilation failures.

Differential Revision: https://reviews.llvm.org/D103771
The file was addedclang/test/Driver/msvc-static-rtti.cpp
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was modifiedclang/lib/Driver/ToolChains/MSVC.h