SuccessChanges

Summary

  1. ResourcePriorityQueue.h - reduce unnecessary includes to forward declarations. NFC. (details)
  2. ObjCARCAnalysisUtils.h - remove unused includes. NFC. (details)
  3. [lldb/Reproducers] Skip remaining failing test in python_api subdir (details)
  4. [StaticAnalyzer] Fix non-virtual destructor warning (details)
  5. [fuzzer][afl] Fix build with GCC (details)
  6. [PowerPC][NFC] Update test to prevent DCE from causing failures (details)
  7. [Analyzer] Fix buildbot failure of commit rGd70ec366c91b (details)
  8. [PowerPC] Add support for -mcpu=pwr10 in both clang and llvm (details)
  9. [InstCombine] add tests for reassociative sub/add expressions; NFC (details)
  10. [LoopVectorize] regenerate full test checks; NFC (details)
  11. [InstCombine] reassociate sub+add to increase adds and throughput (details)
Commit 50db8402fc6652559d9ba3dc97bb787c4160ef5b by llvm-dev
ResourcePriorityQueue.h - reduce unnecessary includes to forward declarations. NFC.

Move includes to ResourcePriorityQueue.cpp
The file was modifiedllvm/include/llvm/CodeGen/ResourcePriorityQueue.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
Commit 0165cf701156db4d399cb31d31ecb154372e2562 by llvm-dev
ObjCARCAnalysisUtils.h - remove unused includes. NFC.

We just need to include Passes.h in ObjCARCAliasAnalysis.cpp to compensate
The file was modifiedllvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h
The file was modifiedllvm/lib/Analysis/ObjCARCAliasAnalysis.cpp
Commit 8d31dd23ec2368d00b0668c3d01b1fd2ce4d621b by Jonas Devlieghere
[lldb/Reproducers] Skip remaining failing test in python_api subdir

Skip the remaining two failing test in the python_api subdirectory. See
inline comments for the reason why.
The file was modifiedlldb/test/API/python_api/sbdata/TestSBData.py
The file was modifiedlldb/test/API/python_api/hello_world/TestHelloWorld.py
Commit a94e08d2e840a0e7ce032f59e9344bc49b5a54a1 by Jonas Devlieghere
[StaticAnalyzer] Fix non-virtual destructor warning

Ficed warning: 'clang::ento::ExprEngine' has virtual functions but non-virtual destructor [-
Wnon-virtual-dtor]
  ~ExprEngine() = default;
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
Commit 2e824925402f011c2a4d3a0b51cce388b6d14d16 by kcc
[fuzzer][afl] Fix build with GCC

Summary:
Fixes this build error with GCC 9.3.0:

```
../lib/fuzzer/afl/afl_driver.cpp:114:30: error: expected unqualified-id before string constant
  114 | __attribute__((weak)) extern "C" void __sanitizer_set_report_fd(void *);
      |                              ^~~
```

Reviewers: metzman, kcc

Reviewed By: kcc

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D80479
The file was modifiedcompiler-rt/lib/fuzzer/afl/afl_driver.cpp
Commit 6e9223a2c65835444c5c1328d52daf9f85f9618c by nemanja.i.ibm
[PowerPC][NFC] Update test to prevent DCE from causing failures

The test case provided in PR45709 can be simplified by DCE to an
empty function. To prevent this from happening if DCE is run prior
to ISEL in the back end, just add optnone to the function. The
behaviour it is testing for is in the SDAG legalization and is
not sensitive to optnone so the test case still achieves its desired
objective.
The file was modifiedllvm/test/CodeGen/PowerPC/pr45709.ll
Commit 12dbdc2a6b68162f7370e9754bdb0e1edd65bf3c by adam.balogh
[Analyzer] Fix buildbot failure of commit rGd70ec366c91b
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
Commit 7eb666b1556b86503f2f386bf921186cdbb2d22a by lei
[PowerPC] Add support for -mcpu=pwr10 in both clang and llvm

Summary:
This patch simply adds support for the new CPU in anticipation of
Power10. There isn't really any functionality added so there are no
associated test cases at this time.

Reviewers: stefanp, nemanjai, amyk, hfinkel, power-llvm-team, #powerpc

Reviewed By: stefanp, nemanjai, amyk, #powerpc

Subscribers: NeHuang, steven.zhang, hiraditya, llvm-commits, wuzish, shchenz, cfe-commits, kbarton, echristo

Tags: #clang, #powerpc, #llvm

Differential Revision: https://reviews.llvm.org/D80020
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedclang/test/Preprocessor/init-ppc64.c
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedllvm/test/CodeGen/PowerPC/check-cpu.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedclang/test/Misc/target-invalid-cpu-note.c
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 0788392637f414c312a995f3202177a2919eba2f by spatel
[InstCombine] add tests for reassociative sub/add expressions; NFC
The file was modifiedllvm/test/Transforms/InstCombine/sub.ll
Commit f5cfcc4b0638eaca9194776309d16cd59c1f961b by spatel
[LoopVectorize] regenerate full test checks; NFC
The file was modifiedllvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
Commit 1a2bffaf8b4567663f3001bd9c7532322e89f990 by spatel
[InstCombine] reassociate sub+add to increase adds and throughput

The -reassociate pass tends to transform this kind of pattern into
something that is worse for vectorization and codegen. See PR43953:
https://bugs.llvm.org/show_bug.cgi?id=43953

Follows-up the FP version of the same transform:
rGa0ce2338a083
The file was modifiedllvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sub.ll