FailedChanges

Summary

  1. TableGen: Remove unused code (details)
  2. [ELF][Hexagon] Add support for IE relocations (details)
  3. [InstCombine] Z / (1.0 / Y) => (Y * Z) (details)
  4. [libcxxabi] Allow tests to link with static libc++abi/libc++ even if the (details)
  5. [clangd] Respect `--sysroot` argument if it is set (details)
Commit de08244d3da52215b8c63bc70d0a3c9e07b620a3 by arsenm2
TableGen: Remove unused code
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.h
Commit 0fa8f701ccf6f29544394b358f38b748e3f7ab24 by sidneym
[ELF][Hexagon] Add support for IE relocations
Differential Revision: https://reviews.llvm.org/D71143
The file was addedlld/test/ELF/hexagon-tls-ie.s
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/Arch/Hexagon.cpp
Commit 6c04ef472a8739a60a7935f77edfbacd2f50eb73 by spatel
[InstCombine] Z / (1.0 / Y) => (Y * Z)
This is a special case of Z / (X / Y) => (Y * Z) / X, with X = 1.0. The
m_OneUse check is avoided because even in the case of the multiple uses
for 1.0/Y, the number of instructions remain the same and a division is
replaced by a multiplication.
Differential Revision: https://reviews.llvm.org/D72319
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/test/Transforms/InstCombine/fdiv.ll
Commit fb76c7934dce2ede7e04097edb455eba58f6ebfd by jaskiewiczs
[libcxxabi] Allow tests to link with static libc++abi/libc++ even if the
shared version is present
Summary: Right now the only way to force libc++abi tests to link with
the static version of libc++abi is to set `LIBCXXABI_ENABLE_SHARED` to
`OFF`. However, this doesn't work when libc++abi is built as standalone
project because of
[this](https://github.com/llvm/llvm-project/blob/54c522420347e58aa7bae1892cf5c5672b57c875/libcxxabi/CMakeLists.txt#L503-L519).
This change allows specifying the version of the library for tests to
link with.
This is useful for remote testing, for example, with `SSHExecutor`,
where we _have_ to link with libc++abi statically.
Two new CMake options are introduced here:
`LIBCXXABI_LINK_TESTS_WITH_SHARED_LIBCXXABI` and
`LIBCXXABI_LINK_TESTS_WITH_SHARED_LIBCXX`. They can be set to `OFF` to
tell the test utility to link tests with the static libraries.
It shouldn't break anything, because the default values of these options
are set such that the test utility will behave the same way.
Reviewers: EricWF, mclow.lists, phosek, mehdi_amini, ldionne, jroelofs,
bcraig
Subscribers: mgorny, christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D71894
The file was modifiedlibcxxabi/CMakeLists.txt
The file was modifiedlibcxxabi/test/CMakeLists.txt
The file was modifiedlibcxxabi/test/lit.site.cfg.in
Commit ea9888b8f6f20887647b77ebf5864d647fd2ea44 by davg
[clangd] Respect `--sysroot` argument if it is set
Summary:
- Since `--sysroot` is a superset of the `-isysroot` argument, we
shouldn't add the `-isysroot` if we detect a `--sysroot` flag.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72415
The file was modifiedclang-tools-extra/clangd/CompileCommands.cpp