SuccessChanges

Summary

  1. [SelectionDAG] Make use of KnownBits::commonBits. NFC. (details)
  2. [Analysis,CodeGen] Make use of KnownBits::makeConstant. NFC. (details)
  3. [Support] Simplify KnownBits::icmp helpers. NFC. (details)
  4. [Support] Add KnownBits::sextInReg exhaustive tests (details)
  5. [docs] Update DebuggingJITedCode page after fix in LLDB (details)
  6. [Support] Ensure KnownBits::sextInReg can handle the src == dst sext-in-reg case. (details)
  7. [flang] Fix dangling pointer in LabelEnforce (details)
  8. [OpenCL] Improve online documentation. (details)
  9. [mlir][linalg] Add docstring support for named op spec (details)
  10. [Support] Simplify KnownBits::sextInReg implementation. (details)
  11. [TableGen] Enhance !cast<string> to handle bit and bits types. (details)
  12. Revert "[AArch64] Attempt to sink mul operands" (details)
  13. [Support] Remove redundant sign bit tests from KnownBits::getSignedMinValue/getSignedMaxValue (details)
  14. [SystemZ] misched-cutoff tests can only be tested on non-NDEBUG (assertion) builds (details)
Commit a1cba5b7a1fb09d2d4082967e2466a5a89ed698a by jay.foad
[SelectionDAG] Make use of KnownBits::commonBits. NFC.

Differential Revision: https://reviews.llvm.org/D94587
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
Commit 517196e569129677be32d6ebcfa57bac552268a4 by jay.foad
[Analysis,CodeGen] Make use of KnownBits::makeConstant. NFC.

Differential Revision: https://reviews.llvm.org/D94588
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
Commit 90b310f6caf0b356075c70407c338b3c751eebb3 by jay.foad
[Support] Simplify KnownBits::icmp helpers. NFC.

Remove some special cases that aren't really any simpler than the
general case.

Differential Revision: https://reviews.llvm.org/D94595
The file was modifiedllvm/lib/Support/KnownBits.cpp
Commit e8622d27c0e3020177ff47ad57dd1e5371feb9cf by llvm-dev
[Support] Add KnownBits::sextInReg exhaustive tests

Requested by @foad in rG9cf4f493a72f
The file was modifiedllvm/unittests/Support/KnownBitsTest.cpp
Commit 332e220ef42b92df4e080cfa5b91c9accbe9731b by Stefan Gränitz
[docs] Update DebuggingJITedCode page after fix in LLDB

Generalize the documentation to include both, GDB and LLDB. Add a link to the interface
definition. Make a note on MCJIT's restriction to ELF. Mention the regression and bugfix
in LLDB as well as the jit-loader setting for macOS. Update the command line session to
use LLDB instead of GDB.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D90789
The file was modifiedllvm/docs/DebuggingJITedCode.rst
Commit 0b46f19a9ecd6215cffb51d19f2403c18b0226f5 by llvm-dev
[Support] Ensure KnownBits::sextInReg can handle the src == dst sext-in-reg case.

This was resulting in assertions inside APInt::zext that we were extending to the same bitwidth.
The file was modifiedllvm/lib/Support/KnownBits.cpp
The file was modifiedllvm/unittests/Support/KnownBitsTest.cpp
Commit 3e41ab18db2255028c288a11665c08d260654299 by tkeith
[flang] Fix dangling pointer in LabelEnforce

`DirectiveStructureChecker` was passing in a pointer to a temporary
string for the `construct` argument to the constructor for `LabelEnforce`.
The `LabelEnforce` object had a lifetime longer than the temporary,
resulting in accessing a dangling pointer when emitting an error message
for `omp-parallell01.f90`.

The fix is to make the lifetime of the temporary as long as the lifetime
of the `LabelEnforce` object.

Differential Revision: https://reviews.llvm.org/D94618
The file was modifiedflang/lib/Semantics/check-directive-structure.h
Commit adb77a7456920a46908c7e20b2d3008789274975 by anastasia.stulova
[OpenCL] Improve online documentation.

Update UsersManual and OpenCLSupport pages to reflect
recent functionality i.e. SPIR-V generation,
C++ for OpenCL, OpenCL 3.0 development plans.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D93942
The file was modifiedclang/docs/OpenCLSupport.rst
The file was modifiedclang/docs/UsersManual.rst
Commit 6b9fa8a50d0f9e1e54f238b1c50fee8ff7011218 by antiagainst
[mlir][linalg] Add docstring support for named op spec

Depends on D94335

Reviewed By: nicolasvasilache, hanchung

Differential Revision: https://reviews.llvm.org/D94548
The file was modifiedmlir/docs/Dialects/Linalg.md
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
The file was modifiedmlir/test/mlir-linalg-ods-gen/test-linalg-ods-gen.tc
Commit c0939fddf80c16829502186e2e5b78f77696310a by llvm-dev
[Support] Simplify KnownBits::sextInReg implementation.

As noted by @foad in rG9cf4f493a72f all we need to do is sextInReg both KnownBits One and Zero.
The file was modifiedllvm/lib/Support/KnownBits.cpp
Commit a022be625387370cf67b26c6b99b05f16b2a8610 by paul
[TableGen] Enhance !cast<string> to handle bit and bits types.

Add a test for this.

Differential Revision: https://reviews.llvm.org/D94529
The file was modifiedllvm/lib/TableGen/Record.cpp
The file was addedllvm/test/TableGen/cast-string.td
Commit dbaa6a1858a42f72b683f700d3bd7a9632f7a518 by martin
Revert "[AArch64] Attempt to sink mul operands"

This reverts commit dda60035e9f0769c8907cdf6561489e0435c2275.

This commit caused failures to compile some sources, erroring out
with "error in backend: Cannot select: t85: v2i32 = AArch64ISD::DUP t15",
see https://reviews.llvm.org/D91271 for the full reproduction case.
The file was removedllvm/test/CodeGen/AArch64/aarch64-matrix-umull-smull.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit d0dbb0468c26bafa88e7340781fb3a0a79379470 by llvm-dev
[Support] Remove redundant sign bit tests from KnownBits::getSignedMinValue/getSignedMaxValue

As noted by @foad on rG6895581fd2c1
The file was modifiedllvm/include/llvm/Support/KnownBits.h
Commit 0a59647ee407524e6468cc5be4ba288861aa700d by llvm-dev
[SystemZ] misched-cutoff tests can only be tested on non-NDEBUG (assertion) builds

Fixes clang-with-thin-lto-ubuntu buildbot after D94383/rGddd03842c347
The file was modifiedllvm/test/CodeGen/SystemZ/misched-cutoff.ll