SuccessChanges

Summary

  1. [llvm-mca][NFC] Refactor views to separate data collection from printing. (details)
  2. [InstCombine] Remove unused entries in gc-live bundle of statepoint (details)
  3. Re-land 7a527f17776be78ec44b88e82b39afb65fc148e4 with fixes. (details)
  4. [AMDGPU] Avoid sorting stalls in regbank-reassign (details)
  5. [docs] Move the label for __builtin_shufflevector below __builtin_dump_struct so the see also link in 'vector operations' will go to the right place and have the right name. (details)
  6. [Cloning] Fix to cloning DISubprograms. (details)
Commit cf6adecd6a8718ee2737ca55e4cd938364b984cc by wolfgang_pieb
[llvm-mca][NFC] Refactor views to separate data collection from printing.

    Reviewed By: andreadb, lebedev.ri

    Differential Revision: https://reviews.llvm.org/D86177
The file was modifiedllvm/tools/llvm-mca/Views/InstructionInfoView.cpp (diff)
The file was modifiedllvm/tools/llvm-mca/Views/InstructionInfoView.h (diff)
The file was modifiedllvm/tools/llvm-mca/Views/SummaryView.h (diff)
The file was modifiedllvm/tools/llvm-mca/Views/SummaryView.cpp (diff)
Commit 9e362bb0eb52732cd9224d02bb7ce613bb47c1fc by serguei.katkov
[InstCombine] Remove unused entries in gc-live bundle of statepoint

If some of gc live value are not used in gc.relocate we can remove them
from gc-live bundle of statepoint instruction.

Also the CL removes duplicated Values in gc-live bundle.

Reviewers: reames, dantrushin
Reviewed By: dantrushin
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D85959
The file was modifiedllvm/lib/IR/Instructions.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/statepoint-iter.ll (diff)
The file was modifiedllvm/include/llvm/IR/Instructions.h (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)
Commit aca191cce1c4dbab28a65cfe4caa6348e698a2b3 by aaron
Re-land 7a527f17776be78ec44b88e82b39afb65fc148e4 with fixes.

The original commit was reverted in 58c305f466d1f78adb10e7295b9bc9fc192a6e09
due to broken bots. This commit corrects the triple and command line paths.
The file was addedclang/test/Modules/Inputs/inherit-attribute/a.h
The file was addedclang/test/Modules/Inputs/inherit-attribute/c.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp (diff)
The file was addedclang/test/Modules/Inputs/inherit-attribute/b.h
The file was addedclang/test/Modules/Inputs/inherit-attribute/module.modulemap
The file was addedclang/test/Modules/inherit-attribute.cpp
Commit 9a9a092e61d4199207e515be087648b8cc4f9053 by Stanislav.Mekhanoshin
[AMDGPU] Avoid sorting stalls in regbank-reassign

This is the slowest operation in the already slow pass.
Instead of sorting just put a stall list into an ordered
map.

Differential Revision: https://reviews.llvm.org/D86253
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.encode.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/regbank-reassign.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegBankReassign.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.g16.ll (diff)
Commit c0ec37ee65d0d21fddc6194fe1cce9db4107a902 by craig.topper
[docs] Move the label for __builtin_shufflevector below __builtin_dump_struct so the see also link in 'vector operations' will go to the right place and have the right name.
The file was modifiedclang/docs/LanguageExtensions.rst (diff)
Commit 5e3fd471acb7fb01514b55bd24522da099a7b97c by akhuang
[Cloning] Fix to cloning DISubprograms.

When trying to enable -debug-info-kind=constructor there was an assert
that occurs during debug info cloning ("mismatched subprogram between
llvm.dbg.value variable and !dbg attachment").
It appears that during llvm::CloneFunctionInto, a DISubprogram could be
duplicated when MapMetadata is called, and then added to the MD map again
when DIFinder gets a list of subprograms. This results in two different
versions of the DISubprogram.

This patch switches the order so that the DIFinder subprograms are
added before MapMetadata is called.

Fixes https://bugs.llvm.org/show_bug.cgi?id=46784

Differential Revision: https://reviews.llvm.org/D86185
The file was modifiedllvm/lib/Transforms/Utils/CloneFunction.cpp (diff)
The file was modifiedllvm/unittests/Transforms/Utils/CloningTest.cpp (diff)