SuccessChanges

Summary

  1. [SDAG] add helper for select->logic folds; NFC (details)
  2. [HIP] Emit kernel symbol (details)
  3. [SystemZ] Introduce distinction between the jg/jl family of mnemonics for GNU as vs HLASM (details)
  4. [lldb/Plugins] Fix SWIGPythonBridge build issue (details)
Commit 154c47dc06b5b432f9d8a3e3773e0089099a43d8 by spatel
[SDAG] add helper for select->logic folds; NFC

This set of transforms should be extended to handle vector types.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
Commit 5cf2a37f1255700d4da9d5f45e82bdfff09aee8c by Yaxun.Liu
[HIP] Emit kernel symbol

Currently clang uses stub function to launch kernel. This is inconvenient
to interop with C++ programs since the stub function has different name
as kernel, which is required by ROCm debugger.

This patch emits a variable symbol which has the same name as the kernel
and uses it to register and launch the kernel. This allows C++ program to
launch a kernel by using the original kernel name.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D86376
The file was modifiedclang/lib/CodeGen/CGCUDARuntime.h (diff)
The file was modifiedclang/lib/CodeGen/CGExpr.cpp (diff)
The file was modifiedclang/test/CodeGenCUDA/kernel-dbg-info.cu (diff)
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp (diff)
The file was modifiedclang/test/CodeGenCUDA/kernel-stub-name.cu (diff)
The file was modifiedclang/test/CodeGenCUDA/Inputs/cuda.h (diff)
The file was modifiedclang/lib/CodeGen/CGCUDANV.cpp (diff)
The file was addedclang/test/CodeGenCUDA/cxx-call-kernel.cpp
The file was modifiedclang/test/CodeGenCUDA/unnamed-types.cu (diff)
Commit 5cb417527cbca62bbee93504deb2f1e7a357e6ec by kai
[SystemZ] Introduce distinction between the jg/jl family of mnemonics for GNU as vs HLASM

- This patch adds in the distinction between jg[*] and jl[*] pc-relative
  mnemonics based on the variant/dialect.
- Under the hlasm variant, we use the jl[*] family of mnemonics and under
  the att (GNU as) variant, we use the jg[*] family of mnemonics.
- jgnop which was added in https://reviews.llvm.org/D92185, is now restricted
  to att variant. jlnop is introduced and restricted to hlasm variant.
- The br[*]l additional mnemonics are mapped to either jl[*]/jg[*] based on
  the variant.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D97581
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrFormats.td (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.td (diff)
The file was modifiedllvm/test/MC/SystemZ/insn-bad.s (diff)
Commit 5a9c34918bb1526b7e8c29aa5e4fb8d8e27e27b4 by medismail.bennani
[lldb/Plugins] Fix SWIGPythonBridge build issue

This patch should fi the build issue on the windows bots:
https://lab.llvm.org/buildbot/#/builders/83/builds/4214/steps/5/logs/stdio

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h (diff)