SuccessChanges

Summary

  1. [NFC] Attributor comment updates / cast cleanup (details)
  2. tsan: fix build bugs (details)
  3. [docs] Added solutions to slow build under common problems. (details)
  4. [X86][SSE] Add combine tests for PTEST/TESTPS/TESTPD instructions (details)
  5. [X86][SSE] Add original PR38522 test case (details)
  6. [X86][SSE] Add testnzc(~X,Y) -> testnzc(X,Y) test cases (details)
  7. [llvm-rc] Allow -1 for menu item IDs (details)
  8. Fix `-Wsign-compare` warning. NFC. (details)
  9. Fix GCC warning on enum class bitfield. NFC. (details)
  10. [lldb][NFC] Fix typo in TestInvalidArgsLog (details)
  11. [clang][Syntax] Handle macro arguments in spelledForExpanded (details)
  12. [SCCP] Remove unused toLatticeValue helper (NFC). (details)
  13. [SCCP] Remove LatticeVal alias now that transition is done (NFC). (details)
Commit 06066c40035386f3ade57f5917c9454c6c8660a0 by uday
[NFC] Attributor comment updates / cast cleanup

Minor update/fixes to comments for the Attributor pass, and dyn_cast -> cast.

Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>

Differential Revision: https://reviews.llvm.org/D76972
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 65b4695375c6518c0b51a2a4c8392ab9d461e317 by dvyukov
tsan: fix build bugs

1. Fix expression inside of DCHECK_LE.
2. Add a debug build test to buildgo.sh.
3. Fix race binary path in buildgo.sh.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_clock.cpp
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
Commit 37943e518c5acbeb7139240e75da928e9c6cfbd3 by llvm-project
[docs] Added solutions to slow build under common problems.

I added a list of options to configure should someone have issues with
long build time or running out of memory. This was added under common
problems in the getting started section of the documentation.

Reviewed By: Meinersbur, dim, e-leclercq

Differential Revision: https://reviews.llvm.org/D75425
The file was modifiedllvm/docs/GettingStarted.rst
Commit 8d85da5f5a2d2e6a03fd1dc215393e5e6d31255c by llvm-dev
[X86][SSE] Add combine tests for PTEST/TESTPS/TESTPD instructions

Including some test coverage for PR38522
The file was addedllvm/test/CodeGen/X86/combine-ptest.ll
The file was addedllvm/test/CodeGen/X86/combine-testpd.ll
The file was addedllvm/test/CodeGen/X86/combine-testps.ll
Commit d34d2ec28be1e80adb4e033f44b88acb289817cd by llvm-dev
[X86][SSE] Add original PR38522 test case
The file was modifiedllvm/test/CodeGen/X86/combine-ptest.ll
Commit 8c1dbd5c1e2b53e39201b8aefc9c1f2dcb73ea13 by llvm-dev
[X86][SSE] Add testnzc(~X,Y) -> testnzc(X,Y) test cases
The file was modifiedllvm/test/CodeGen/X86/combine-testpd.ll
The file was modifiedllvm/test/CodeGen/X86/combine-ptest.ll
The file was modifiedllvm/test/CodeGen/X86/combine-testps.ll
Commit 8330dcadb841cddcbe1318f2cd663b2787407f58 by martin
[llvm-rc] Allow -1 for menu item IDs

This seems to be used in some resource files, e.g.
https://github.com/wxWidgets/wxWidgets/blob/f3217573d7240411e7817c9d76d965b2452987a2/include/wx/msw/wx.rc#L28.

MSVC rc.exe and GNU windres both allow any value here, and silently
just truncate to uint16_t range. This just explicitly allows the
-1 value and errors out on others - the same was done for control
IDs in dialogs in c1a67857ba0a6ba558818b589fe7c0fcc8f238ae.

Differential Revision: https://reviews.llvm.org/D76951
The file was modifiedllvm/test/tools/llvm-rc/tag-menu.test
The file was modifiedllvm/tools/llvm-rc/ResourceFileWriter.cpp
The file was modifiedllvm/test/tools/llvm-rc/Inputs/tag-menu.rc
Commit d2dd0fac483c1ac2dba5c19626669b86256073bb by michael.hliao
Fix `-Wsign-compare` warning. NFC.
The file was modifiedllvm/lib/Target/X86/X86PartialReduction.cpp
Commit cb6389360b05e8f89d09ff133a4ba1fd011866c5 by michael.hliao
Fix GCC warning on enum class bitfield. NFC.
The file was modifiedclang/lib/CodeGen/CGCUDANV.cpp
The file was modifiedclang/lib/CodeGen/CGCUDARuntime.h
Commit 14db82c929d981833dbd829a3e8e702556aea1d2 by Raphael Isemann
[lldb][NFC] Fix typo in TestInvalidArgsLog
The file was modifiedlldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
Commit 9619c2cc9a22a3ca1375f2f4a64e50c0a56e95d1 by kadircet
[clang][Syntax] Handle macro arguments in spelledForExpanded

Reviewers: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75446
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h
The file was modifiedclang/lib/Tooling/Syntax/Tokens.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TokensTest.cpp
Commit a44bf59c93b4807934c896ea25f3628c50dd5f44 by flo
[SCCP] Remove unused toLatticeValue helper (NFC).

LatticeVal is an alias for ValueLatticeElement and the function is not
used any longer.
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
Commit 81f173ed0e2c4b49b217625e11efa4dcdc9304ad by flo
[SCCP] Remove LatticeVal alias now that transition is done (NFC).

The LatticeVal alias was introduced to reduce the diff size for the
transition to ValueLatticeElement, which is done now.

This patch removes the unnecessary alias and updates some very verbose
type uses with auto.
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp