1. [X86] Add AMD Matisse (znver2) model number to getHostCPUName and (details)
  2. [ThinLTO] Promotion handling cleanup (NFC) (details)
  3. Update the docs for building libc++. (details)
  4. [Sema] Fix a -Wobjc-signed-char-bool false-positive (details)
Commit ff75bf6ac93a9ef5a7d41f7645e02fde3e968ce1 by craig.topper
[X86] Add AMD Matisse (znver2) model number to getHostCPUName and
compiler-rt's getAMDProcessorTypeAndSubtype.
This is the CPUID model used on Ryzen 3000 series (Zen 2/Matisse) CPUs.
Patch by Alex James
Differential Revision:
The file was modifiedcompiler-rt/lib/builtins/cpu_model.c
The file was modifiedllvm/lib/Support/Host.cpp
Commit 3be6dbca3b88e82009e1990957c15b94455c1714 by tejohnson
[ThinLTO] Promotion handling cleanup (NFC)
Summary: Clean up the code that does GV promotion in the ThinLTO
Specifically, we don't need to check whether we are importing since that
is already checked and handled correctly in shouldPromoteLocalToGlobal.
Simply call shouldPromoteLocalToGlobal, and if it returns true we are
guaranteed that we are promoting, whether or not we are importing (or in
the exporting module). This also makes the handling in getName()
consistent with that in getLinkage(), which checks the DoPromote
parameter regardless of whether we are importing or exporting.
Reviewers: steven_wu, pcc, evgeny777
Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
Commit 626260cfe3c7a5d9747f0bf13d87fa1855eb74bb by danalbert
Update the docs for building libc++.
Summary: Rewrite the in-tree build to be a clearer tl;dr like we have
for the out-of-tree build.
Reviewers: EricWF, mclow.lists, ldionne
Reviewed By: ldionne
Subscribers: dexonsmith, christof, ldionne, enh, libcxx-commits
Tags: #libc
Differential Revision:
The file was modifiedlibcxx/docs/BuildingLibcxx.rst
Commit 8bfb353bb33cd2bcd2ef28e36eb8b90123b153c4 by erik.pilkington
[Sema] Fix a -Wobjc-signed-char-bool false-positive
Unsigned bit-field flags can only have boolean values, so handle that
case in Expr::isKnownToHaveBooleanValue.
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/test/SemaObjC/signed-char-bool-conversion.m