SuccessChanges

Summary

  1. [cmake] Emit an error for -DBUILD_SHARED_LIBS=ON on Windows (details)
  2. Replace wrongly deleted header banner, fix formatting (details)
  3. [clang-format] Fixed edge-case with SpacesInSquareBrackets with trailing (details)
  4. [ExpandReductions] Don't push all intrinsics to the worklist. Just push (details)
  5. [RISCV] Fix wrong CFI directives (details)
  6. [llvm-objcopy][COFF] Add support for extended relocation tables (details)
Commit cfca818ef7b8a3659c41d741c90b38c69478598a by tstellar
[cmake] Emit an error for -DBUILD_SHARED_LIBS=ON on Windows
Summary: The BUILD_SHARED_LIBS=ON build fails on Windows, so prevent
users from enabling it.
Reviewers: beanz, smeenai, compnerd, phosek
Reviewed By: beanz
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70161
The file was modifiedllvm/CMakeLists.txt
Commit 5fe3f00ae2753d84ad2f9ca7c5a2b56c34344dfb by rnk
Replace wrongly deleted header banner, fix formatting
I reviewed the diff hunks of 05da2fe52162c80dfa that don't contain
'#include' lines, and found two unintended changes. I deleted a header
banner inadvertently while inserting a header, and changed the
indentation of a constructor in an odd way. Add back the banner, and
reformat the constructor.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/CodeGen/PostRAHazardRecognizer.cpp
Commit 4ee70e00b509fe26bac4196df76dc7c6153f1206 by mitchell
[clang-format] Fixed edge-case with SpacesInSquareBrackets with trailing
bare "&" lambda capture.
Summary: Lambda captures allow for a lone `&` capture, so `&]` needs to
be properly handled.
`int foo = [& ]() {}` is fixed to give `int foo = [ & ]() {}`
Reviewers: MyDeveloperDay
Reviewed by: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang, #clang-format
Differential Revision: https://reviews.llvm.org/D70249
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 17bb2d7c803db4cc52ebfb95e627b92eeccf302a by craig.topper
[ExpandReductions] Don't push all intrinsics to the worklist. Just push
reductions.
We were previously pushing all intrinsics used in a function to the
worklist. This is wasteful for memory in a function with a lot of
intrinsics.
We also ask TTI if we should expand every intrinsic, but we only have
expansion support for the reduction intrinsics. This just wastes time
for the non-reduction intrinsics.
This patch only pushes reduction intrinsics into the worklist and skips
other intrinsics.
Differential Revision: https://reviews.llvm.org/D69470
The file was modifiedllvm/lib/CodeGen/ExpandReductions.cpp
Commit c6b09bff5671600f8e764d3847023d0996f328d9 by luismarques
[RISCV] Fix wrong CFI directives
Summary: Removes CFI CFA directives that could incorrectly propagate
beyond the basic block they were inteded for. Specifically it removes
the epilogue CFI directives. See the branch_and_tail_call test for an
example of the issue. Should fix the stack unwinding issues caused by
the incorrect directives.
Reviewers: asb, lenary, shiva0217 Reviewed By: lenary Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69723
The file was modifiedllvm/test/DebugInfo/RISCV/relax-debug-frame.ll
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
The file was modifiedllvm/test/CodeGen/RISCV/large-stack.ll
The file was modifiedllvm/test/CodeGen/RISCV/split-offsets.ll
The file was modifiedllvm/test/CodeGen/RISCV/frame-info.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/exception-pointer-register.ll
Commit caa9493da85561c6a2308bf9821fe6d14323b8f5 by serguei.n.dmitriev
[llvm-objcopy][COFF] Add support for extended relocation tables
Summary: This patch adds support for COFF objects with extended
relocation tables to the llvm-objcopy tool.
Reviewers: jhenderson, MaskRay, mstorsjo, alexshap, rupprecht
Reviewed By: mstorsjo
Subscribers: jakehehrlich, abrachet, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70205
The file was modifiedllvm/test/tools/llvm-objcopy/COFF/add-section.test
The file was modifiedllvm/tools/llvm-objcopy/COFF/Reader.cpp
The file was modifiedllvm/tools/llvm-objcopy/COFF/Writer.cpp
The file was addedllvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-xrelocs.obj.gz