SuccessChanges

Summary

  1. [MachineCopyPropagation] Extend MCP to do trivial copy backward (details)
  2. [clangd] Add xref for macro to static index. (details)
  3. [fix][unittests][llvm] Fix running unit tests without assertions. [NFCI] (details)
  4. [Signal] Allow one-shot SIGPIPE handler to be reached (details)
Commit 75b3a1c318ccad0f96c38689279bc5db63e2ad05 by lkail
[MachineCopyPropagation] Extend MCP to do trivial copy backward
propagation
Summary: This patch mainly do such transformation
```
$R0 = OP ...
... // No read/clobber of $R0 and $R1
$R1 = COPY $R0 // $R0 is killed
``` Replace $R0 with $R1 and remove the COPY, we have
```
$R1 = OP ...
``` This transformation can also expose more opportunities for existing
copy elimination in MCP.
Differential Revision: https://reviews.llvm.org/D67794
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
The file was modifiedllvm/test/CodeGen/RISCV/shifts.ll
The file was modifiedllvm/test/CodeGen/X86/fshr.ll
The file was modifiedllvm/test/CodeGen/RISCV/alu64.ll
The file was modifiedllvm/test/CodeGen/X86/umulo-128-legalisation-lowering.ll
The file was modifiedllvm/test/CodeGen/PowerPC/redundant-copy-after-tail-dup.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-backward-cp.mir
The file was modifiedllvm/test/CodeGen/X86/fp128-i128.ll
The file was modifiedllvm/test/CodeGen/X86/i128-mul.ll
The file was modifiedllvm/test/CodeGen/X86/shift-i128.ll
The file was modifiedllvm/test/CodeGen/X86/mul-i512.ll
Commit 9347655a275456c08222833b11ec699fafbc6de6 by usx
[clangd] Add xref for macro to static index.
Summary: This adds the references for macros to the SymbolCollector
(used for static index). Enabled if `CollectMacro` option is set.
Reviewers: hokein
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70489
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.h
Commit 1de214fa413d7c3c0fab832fa1f9857606d2ec78 by francesco.petrogalli
[fix][unittests][llvm] Fix running unit tests without assertions. [NFCI]
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
Commit 9a3f892d018238dce5181e458905311db8e682f5 by Vedant Kumar
[Signal] Allow one-shot SIGPIPE handler to be reached
As SIGPIPE is no longer in the IntSigs array, handle SIGPIPE before
handling any interrupt signals.
Thanks to Alexandre Ganea for pointing out the issue here.
The file was modifiedllvm/lib/Support/Unix/Signals.inc