SuccessChanges

Summary

  1. [mlir][DeclarativeParser][NFC] Use explicit type names in TypeSwitch to (details)
  2. [Driver] Escape the program path for -frecord-command-line (details)
  3. AMDGPU/GlobalISel: Remove dead code (details)
  4. Allow customized relative PYTHONHOME (Attemp 1) (details)
  5. [llvm-objdump][test] Fix source-interleave-function-from-debug.test on Windows after D74507 (details)
  6. [WebAssembly] Fix a non-determinism problem in FixIrreducibleControlFlow (details)
  7. Flags for displaying only hot nodes in CFGPrinter graph (details)
  8. [lldb][test] Fix sh_type of .debug_cu_index and .debug_tu_index (details)
  9. Remove unused variable (details)
Commit 42060c0a987076567814f97abdf485a55bf6018a by riddleriver
[mlir][DeclarativeParser][NFC] Use explicit type names in TypeSwitch to
appease older GCC.

Older versions of GCC are unable to properly capture 'this' in template lambdas,
resulting in errors.
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit 340feac6721e840f88c1e77dd79931eea5eaccf3 by scott.linder
[Driver] Escape the program path for -frecord-command-line

Similar to the rest of the command line that is recorded, the program
path must also have spaces and backslashes escaped. Without this
parsing the recorded command line becomes hard on platforms like
Windows where spaces and backslashes are common.

This was originally reverted in
577d9ce35532439203411c999deefc9c80e04c69; this version makes a test
agnostic to the presence of backslashes in paths on some platforms.

Patch By: Ravi Ramaseshan
Differential Revision: https://reviews.llvm.org/D74811
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit bf4933b4ea657128f1afcf19758866d41e5aebf9 by arsenm2
AMDGPU/GlobalISel: Remove dead code
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
Commit 3ec3f62f0a0b1ac13230922c91ffc988c1b1e8d5 by hhb
Allow customized relative PYTHONHOME (Attemp 1)

Summary:
This is another attempt of 0bb90628b5f7c170689d2d3f019af773772fc649.

The difference is that g_python_home is not declared as const. Since
some versions of python do not expect that.

Subscribers: mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74998
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit d17123b2577e610b2a19de1f530cecea353c8c7a by maskray
[llvm-objdump][test] Fix source-interleave-function-from-debug.test on Windows after D74507
The file was modifiedllvm/test/tools/llvm-objdump/X86/source-interleave-function-from-debug.test
Commit 3648370a79235ddc7a26c2db5b968725c320f6aa by aheejin
[WebAssembly] Fix a non-determinism problem in FixIrreducibleControlFlow

Summary:
We already sorted the blocks when fixing up a set of mutual
loop entries, however, there can be multiple sets of such
mutual loop entries, and the order we encounter them
should not be random, so sort them too.

Fixes https://bugs.llvm.org/show_bug.cgi?id=44982

Patch by Alon Zakai (kripken)

Reviewers: aheejin, sbc100, dschuff

Subscribers: mgrang, sunfish, hiraditya, jgravelle-google, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74999
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
Commit e33c9bb245a0c17cdd5c06897a911f908215db50 by apilipenko
Flags for displaying only hot nodes in CFGPrinter graph

Added two flags to omit uncommon or dead paths in the CFG graphs:
  -cfg-hide-unreachable-paths
  -cfg-hide-deoptimize-paths

The main purpose is performance analysis when such block are not
"interesting" from perspective of common path performance.

Reviewed By: apilipenko, davidxl

Differential Revision: https://reviews.llvm.org/D74346
The file was addedllvm/test/Other/cfg_deopt_unreach.ll
The file was modifiedllvm/include/llvm/Analysis/CFGPrinter.h
The file was modifiedllvm/lib/Analysis/CFGPrinter.cpp
Commit ebee131259719fa9c06cd346e21ace3fa8ac0888 by maskray
[lldb][test] Fix sh_type of .debug_cu_index and .debug_tu_index

They do not have the SHF_EXCLUDE flag.
After D73999, MC errors `changed section type for .debug_cu_index, expected: 0x0`
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/dwp.s
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
Commit 1b1a97e9b55754302c4b41f6bddc8fbc3870f68a by alexbrachetmialot
Remove unused variable
The file was modifiedlibc/src/signal/linux/raise.cpp