SuccessChanges

Summary

  1. [PowerPC] Implement instruction clustering for stores (details)
  2. [Sema] fix /gr warning test case (details)
  3. [Test] Auto-generated checks for some IndVarSimplify tests (details)
  4. [Attributor][FIX] Properly return changed if the IR was modified (details)
  5. [Attributor][NFC] Expand `auto` types (clang-fix-it) (details)
  6. [Attributor][NFC] Clang tidy: no else after continue (details)
  7. [Attributor][NFC] Change variable spelling (details)
  8. [Attributor][NFC] Cleanup internalize test case (details)
  9. [Attributor][FIX] Don't crash on internalizing linkonce_odr hidden functions (details)
  10. [ELF] --symbol-ordering-file: optimize a loop (details)
Commit 3c0b3250230b3847a2a47dfeacfdb794c2285f02 by qiucofan
[PowerPC] Implement instruction clustering for stores

On Power10, it's profitable to schedule some stores with adjacent target
address together. This patch implements this feature.

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D86754
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-call-linkage-leaf.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was addedllvm/test/CodeGen/PowerPC/fusion-load-store.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
Commit 7907e5516a418fec29137beed3ff985f40e04f17 by zequanwu
[Sema] fix /gr warning test case
The file was modifiedclang/test/SemaCXX/no-rtti.cpp
The file was modifiedclang/test/SemaCXX/no_dynamic_cast.cpp
Commit 247d02396524649a31bc45541f97457e32b8ef48 by mkazantsev
[Test] Auto-generated checks for some IndVarSimplify tests
The file was modifiedllvm/test/Transforms/IndVarSimplify/canonicalize-cmp.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/lftr-multi-exit.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/pr18223.ll
Commit 79651265b2e08e105f3d66d5f75bc9f5fa803e45 by johannes
[Attributor][FIX] Properly return changed if the IR was modified

Deleting or replacing anything is certainly a modification. This caused
a later assertion in IPSCCP when compiling 400.perlbench with the new PM.
I'm not sure how to test this.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit ff70c25d76561d0789743fa9f718dcd520199a7c by johannes
[Attributor][NFC] Expand `auto` types (clang-fix-it)
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 8637acac5a3f4688114290b524eb5154a0bcdbdf by johannes
[Attributor][NFC] Clang tidy: no else after continue
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit e6208849c8d63690ac3489813eb13196df7ed8dc by johannes
[Attributor][NFC] Change variable spelling
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 53e4ef7fc25903430436ce456909d97aaa0fd6b2 by johannes
[Attributor][NFC] Cleanup internalize test case

One run line was different and probably introduced for the manually
added function attribute & name checks. We can do this with the script
and a check prefix used for the other run lines as well.
The file was modifiedllvm/test/Transforms/Attributor/internalize.ll
Commit 711bf7dcf9546fefe18d32a5772d48e7b5166f08 by johannes
[Attributor][FIX] Don't crash on internalizing linkonce_odr hidden functions

The CloneFunctionInto has implicit requirements with regards to the
linkage and visibility of the function. We now update these after we did
the CloneFunctionInto on the copy with the same linkage and visibility
as the original.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/internalize.ll
Commit e59d9df774ed7d94455b224f0e3f6eaeae707259 by i
[ELF] --symbol-ordering-file: optimize a loop
The file was modifiedlld/ELF/Writer.cpp