Changes

Summary

  1. Relax newly added opcode check to check only for a number instead of a specific opcode. (details)
  2. [clangd] Fix XPC build due to missing include path (details)
  3. [LLD] [COFF] Support linking directly against DLLs in MinGW mode (details)
  4. [LLD] [MinGW] Allow linking to DLLs directly (details)
  5. [LLD] [COFF] Fix up missing stdcall decorations in MinGW mode (details)
  6. [clangd] Add some more missing include dirs for completeness (details)
  7. [mlir][linalg][python] Add max operation in OpDSL (details)
  8. [mlir][linalg][python] Introduce python integration test folder. (details)
  9. [WebAssembly] Implementation of global.get/set for reftypes in LLVM IR (details)
  10. [clangd] CMake: express -Iclangd/ at top level and inherit (details)
  11. [clang][AST] Add support for BindingDecl to ASTImporter. (details)
  12. [lldb] [gdb-remote server] Support selecting process via Hg (details)
  13. Revert "[WebAssembly] Implementation of global.get/set for reftypes in LLVM IR" (details)
  14. [Matrix] Hoist address computation before multiply to enable fusion. (details)
  15. [lldb] [test] Add missing category to test_detach_current (details)
  16. [NFC][SimplifyCFG] Autogenerate checklines in trapping-load-unreachable.ll test (details)
  17. [AArch64] Use custom lowering for fp16 vector copysign. (details)
  18. [NFC] Fix typo in comment (details)
  19. Add LogOp to Complex dialect. (details)
  20. Place the BlockAddress type in the address space of the containing function (details)
  21. [MachineCopyPropagation] Fix differences in code gen when compiling with -g (details)
  22. [SLP]Fix gathering of the scalars by not ignoring UndefValues. (details)
  23. [CostModel][X86] Adjust uitofp(vXi64) SSE/AVX legalized costs based on llvm-mca reports. (details)
  24. [lldb] [gdb-remote client] Refactor SetCurrentThread*() (details)
  25. [CostModel][X86] Find AVX conversion costs using legalized types if custom types didn't match (details)
  26. [Matrix] Fix crash during fusion if the same load is re-used. (details)
  27. Revert "[InstrProfiling] Use external weak reference for bias variable" (details)
  28. [gn build] Port a92964779cb5 (details)
  29. [CostModel][X86] Drop some hard coded fp<->int scalarization costs (details)
  30. [CostModel][X86] Update comment describing source of costs - we now use llvm-mca more than IACA (details)
  31. [X86][SLM] Keep similar scheduler costs types together. NFCI. (details)
  32. [llvm-dwarfdump] Add comment saying where DumpDebugFrame comes from (details)
  33. [clangd] Fix possible assertion fail in TUScheduler (details)
  34. Revert "[clangd] Fix possible assertion fail in TUScheduler" (details)
  35. https://godbolt.org/z/5vhv4K5b8 (details)
  36. [NFCI][InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable (details)
  37. Revert "[NFCI][InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable" (details)
  38. Revert "https://godbolt.org/z/5vhv4K5b8" (details)
  39. [InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable (details)
  40. [mlir][Linalg] Add comprehensive bufferization support for TiledLoopOp (14/n) (details)
  41. Revert "[clangd] Unbreak mac build differently 0c96a92d8666b8" (details)
  42. [NFC][InstCombine] visitUnreachableInst(): enhance comments somewhat (details)
  43. Reapply [clangd] Fix possible assertion fail in TUScheduler (details)
  44. Refactor TensorExp parameters into a union (details)
  45. [AArch64] Neon saturated truncate tests. NFC (details)
  46. [AIX] Add dummy XCOFF MCAsmParserExtension (details)
  47. [AIX] Use AsmParser to do inline asm parsing (details)
  48. [gn build] Port bf64210fd88f (details)
  49. Refactor mutation strategies into a standalone library (details)
  50. [Bazel] Fix build for c0a6318d96 (details)
  51. [mlir][linalg][python] Add min operation in OpDSL. (details)
  52. [Libomptarget] Experimental Remote Plugin Fixes (details)
  53. [mlir][Vector] NFC - Compress vector to outerproduct lowering. (details)
  54. Revert "Refactor mutation strategies into a standalone library" (details)
  55. [libc] Make ULP error reflect the bit distance more closely. (details)
  56. Unpack the CostEstimate feature in ML inlining models. (details)
  57. [NFC][OpenMP][CUDA] Add test for using `-x cuda -fopenmp` (details)
  58. [gn build] Port 99f00635d7ac (details)
  59. [libcxx][type_traits] remove `std::is_literal_type` and `std::result_of` for C++20 (details)
  60. [Intrinsics] Make MemCpyInlineInst a MemCpyInst (details)
  61. [MLGO] Update Oz model url. (details)
  62. [SLP][NFC]Refactor findLaneForValue and make it static member, NFC, by (details)
  63. [X86] Modify LOOP*, HLT control flow attributes (details)
  64. [lld-macho] Ignore debug symbols while preparing relocations. (details)
  65. Revert "[mlir][Vector] NFC - Compress vector to outerproduct lowering." (details)
  66. Revert "[clang-repl] Allow passing in code as positional arguments." (details)
  67. [clang][emscripten] Reduce alignof long double from 16 to 8 bytes (details)
  68. [Hexagon] Handle opaque pointers in vector combine (details)
  69. [OpaquePtr] Add type parameter to emitLoadLinked (details)
  70. [mlir][Linalg] Fix incorrect logic in deciding when to fuse reshapes by linearization. (details)
  71. [ms] [llvm-ml] Standardize blocking of lexical substitution (details)
  72. [lldb] Replace default bodies of special member functions with = default; (details)
  73. [SimplifyCFG] Volatile memory operations do not trap (details)
  74. Add C API files for the LLVM dialect (details)
  75. [InstCombine] Don't combine PHI before catchswitch (details)
  76. [NFCI][SimplifyCFG] simplifyUnreachable(): Use poison constant to represent the result of unreachable instrs (details)
  77. [GlobalISel] Add re-association combine for G_PTR_ADD to allow better addressing mode usage. (details)
  78. [lldb] [gdb-remote client] Support switching PID along with TID (details)
  79. [NFC][SimplifyCFG] Autogenerate checklines in a few tests (details)
  80. [NFC][CUDA] Fix order of round(f) definition in __clang_cuda_math.h for non-LP64. (details)
  81. [GlobalISel] Clean up CombinerHelper::apply* functions to return void. (details)
  82. [lldb/test] Fix failure caused by synthetic symbol name refactoring (details)
  83. [NFC][Codegen] Tune a few tests to not end with a naked `unreachable` terminator (details)
  84. [NFC][Codegen] Autogenerate check lines in PowerPC/2007-11-16-landingpad-split.ll (details)
  85. Name all DEATH tests using 'DeathTest' suffix. (details)
  86. [mlir][Vector] NFC - Compress vector to outerproduct lowering. (details)
  87. Fix test so it doesn't try to write to the test directory, only to %t (details)
  88. [lldb] Update shebang in heap.py and crashlog.py (details)
  89. Lex: add a callback for `#pragma mark` (details)
  90. [mlir][sparse] support for negation and subtractions (details)
  91. Revert "[DebugInfo] Enforce implicit constraints on `distinct` MDNodes" (details)
  92. Revert "Create synthetic symbol names on demand to improve memory consumption and startup times." (details)
  93. [ThinLTO] Respect ClearDSOLocalOnDeclarations for unimported functions (details)
  94. [SelectionDAG] Rename memory VT argument for getMaskedGather/getMaskedScatter from VT to MemVT. (details)
  95. [AIX] Adjust CSR order to avoid breaking ABI regarding traceback (details)
Commit f737d9794a40c066c9ccffb9ac277c1b70442ede by douglas.yung
Relax newly added opcode check to check only for a number instead of a specific opcode.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
Commit 86c5afa6e601c4a80d46a7a8b892d5c49bcec078 by sam.mccall
[clangd] Fix XPC build due to missing include path

(Tentative, untested as I don't have a mac)
The file was modifiedclang-tools-extra/clangd/xpc/CMakeLists.txt
Commit a9ff1ce1b9a52add7557cf0579d424c9d0678860 by martin
[LLD] [COFF] Support linking directly against DLLs in MinGW mode

GNU ld.bfd supports linking directly against DLLs without using an
import library, and some projects have picked up on this habit.
(There's no one single unsurmountable issue with using import
libraries, but this is a regularly surfacing missing feature.)

As long as one is linking by name (instead of by ordinal), the DLL
export table contains most of the information needed. (One can
inspect what section a symbol points at, to see if it's a function
or data symbol. The practical implementation of this loops over all
sections for each symbol, but as long as they're not very many, that
should hopefully be tolerable performance wise.)

One exception where the information in the DLL isn't entirely enough
is on i386 with stdcall functions; depending on how they're done,
the exported function name can be a plain undecorated name, while
the import library would contain the full decorated symbol name. This
issue is addressed separately in a different patch.

This is implemented mimicing the structure of a regular import library,
with one InputFile corresponding to the static archive that just adds
lazy symbols, which then are fetched when they are needed. When such
a symbol is fetched, we synthesize a coff_import_header structure
in memory and create a regular ImportFile out of it.

The implementation could be even smaller by just creating ImportFiles
for every symbol available immediately, but that would have the
drawback of actually ending up importing all symbols unless running
with GC enabled (and mingw mode defaults to having it disabled for
historical reasons).

Differential Revision: https://reviews.llvm.org/D104530
The file was modifiedlld/COFF/Symbols.cpp
The file was modifiedlld/COFF/Symbols.h
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/InputFiles.h
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/SymbolTable.h
The file was addedlld/test/COFF/link-dll.s
The file was addedlld/test/COFF/link-dll-i386.s
Commit c09e5e50b13aa1f5a2eafc81097ffe8a5799e5b3 by martin
[LLD] [MinGW] Allow linking to DLLs directly

As the COFF linker is capable of linking directly against a DLL now
(after D104530, as long as it is running in mingw mode), don't error
out here but successfully load libraries specified with "-l" from DLLs
if that's what ld.bfd would have matched.

Differential Revision: https://reviews.llvm.org/D104531
The file was modifiedlld/MinGW/Driver.cpp
The file was modifiedlld/test/MinGW/lib.test
Commit ce211c505b82e5bbb68b936968d9b54608285416 by martin
[LLD] [COFF] Fix up missing stdcall decorations in MinGW mode

If linking directly against a DLL without an import library, the
DLL export symbols might not contain stdcall decorations.

If we have an undefined symbol with decoration, and we happen to have
a matching undecorated symbol (which either is lazy and can be loaded,
or already defined), then alias it against that instead.

This matches what's done in reverse, when we have a def file
declaring to export a symbol without decoration, but we only have
a defined decorated symbol. In that case we do a fuzzy match
(SymbolTable::findMangle). This case is more straightforward; if we
have a decorated undefined symbol, just strip the decoration and look
for the corresponding undecorated symbol name.

Add warnings and options for either silencing the warning or disabling
the whole feature, corresponding to how ld.bfd does it.

(This feature works for any symbol decoration mismatch, not only when
linking against a DLL directly; ld.bfd also tolerates it anywhere,
and also fixes up mismatches in the other direction, like
SymbolTable::findMangle, for any symbol, not only exports. But in
practice, at least for lld, it would primarily end up used for linking
against DLLs.)

Differential Revision: https://reviews.llvm.org/D104532
The file was addedlld/test/COFF/link-dll-stdcall.s
The file was modifiedlld/MinGW/Driver.cpp
The file was modifiedlld/COFF/SymbolTable.h
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/Options.td
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/MinGW/Options.td
The file was modifiedlld/test/MinGW/driver.test
The file was modifiedlld/COFF/Config.h
Commit 0c53f602d5a9d7207abb13e463f68e9d092f47a7 by sam.mccall
[clangd] Add some more missing include dirs for completeness
The file was modifiedclang-tools-extra/clangd/indexer/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/unittests/xpc/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/benchmarks/CMakeLists.txt
Commit 3b95400f78a9824172629123580c0a0df36cbc70 by gysit
[mlir][linalg][python] Add max operation in OpDSL

Add the max operation to the OpDSL and introduce a max pooling operation to test the implementation. As MLIR has no builtin max operation, the max function is lowered to a compare and select pair.

Differential Revision: https://reviews.llvm.org/D105203
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir
The file was modifiedmlir/test/python/dialects/linalg/opsrun.py
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/python/dialects/linalg/opdsl/emit_structured_generic.py
Commit 6944f7da25517cc554bf7fd11205082e2c976a97 by gysit
[mlir][linalg][python] Introduce python integration test folder.

Introduce an integration test folder in the test/python subfolder and move the opsrun.py test into the newly created folder. The test verifies named operations end-to-end using both the yaml and the python path.

Differential Revision: https://reviews.llvm.org/D105276
The file was removedmlir/test/python/dialects/linalg/opsrun.py
The file was addedmlir/test/python/integration/dialects/linalg/opsrun.py
The file was addedmlir/test/python/integration/lit.local.cfg
Commit 4facbf213c51e4add2e8c19b08d5e58ad71c72de by pmatos
[WebAssembly] Implementation of global.get/set for reftypes in LLVM IR

Reland of 31859f896.

This change implements new DAG notes GLOBAL_GET/GLOBAL_SET, and
lowering methods for load and stores of reference types from IR
globals. Once the lowering creates the new nodes, tablegen pattern
matches those and converts them to Wasm global.get/set.

Differential Revision: https://reviews.llvm.org/D104797
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedclang/test/CodeGen/target-data.c
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISD.def
The file was addedllvm/test/CodeGen/WebAssembly/funcref-call.ll
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was addedllvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was addedllvm/test/CodeGen/WebAssembly/externref-globalget.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
The file was addedllvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.h
The file was addedllvm/test/CodeGen/WebAssembly/externref-unsized-store.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
The file was addedllvm/test/CodeGen/WebAssembly/externref-unsized-load.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
The file was addedllvm/test/CodeGen/WebAssembly/externref-undef.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was addedllvm/test/CodeGen/WebAssembly/funcref-globalget.ll
The file was addedllvm/test/CodeGen/WebAssembly/externref-globalset.ll
The file was addedllvm/test/CodeGen/WebAssembly/funcref-globalset.ll
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
Commit 26e1553a107f52667be879e99739a4153f8799d8 by sam.mccall
[clangd] CMake: express -Iclangd/ at top level and inherit

For files directly under clangd/, -Iclang-tools-extra/clangd (and the
equivalent for generated files) are not required, as CMake/the compiler puts
these directories on the include path by default.

However this means each subdirectory needs to
include_directories(.. ${CMAKE_CURRENT_BINARY_DIR}/..) etc, and this
proved annoying and error-prone to maintain and debug.

Since include_directories is inherited by subdirectories, we just
configure this explicitly at the top level instead.
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/fuzzer/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/benchmarks/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/unittests/xpc/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/index/dex/dexp/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/support/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/xpc/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/indexer/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/index/remote/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/tool/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/benchmarks/CompletionModel/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/xpc/test-client/CMakeLists.txt
Commit a27a17f883864c1c44a0ba3fb01bbf1c89110b82 by 1.int32
[clang][AST] Add support for BindingDecl to ASTImporter.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D102492
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit b7c140335beb11bcbb2abe51222d7a300cd365e5 by mgorny
[lldb] [gdb-remote server] Support selecting process via Hg

Support using the extended thread-id syntax with Hg packet to select
a subprocess.  This makes it possible to start providing support for
running some of the debugger packets against another subprocesses.

Differential Revision: https://reviews.llvm.org/D100261
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/test/API/tools/lldb-server/TestGdbRemoteFork.py
Commit c2c0d3ea894328667583155334f0607db0c0a73a by lebedev.ri
Revert "[WebAssembly] Implementation of global.get/set for reftypes in LLVM IR"

This reverts commit 4facbf213c51e4add2e8c19b08d5e58ad71c72de.

```
********************
FAIL: LLVM :: CodeGen/WebAssembly/funcref-call.ll (44466 of 44468)
******************** TEST 'LLVM :: CodeGen/WebAssembly/funcref-call.ll' FAILED ********************
Script:
--
: 'RUN: at line 1';   /builddirs/llvm-project/build-Clang12/bin/llc < /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll --mtriple=wasm32-unknown-unknown -asm-verbose=false -mattr=+reference-types | /builddirs/llvm-project/build-Clang12/bin/FileCheck /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll
--
Exit Code: 2

Command Output (stderr):
--
llc: /repositories/llvm-project/llvm/include/llvm/Support/LowLevelTypeImpl.h:44: static llvm::LLT llvm::LLT::scalar(unsigned int): Assertion `SizeInBits > 0 && "invalid scalar size"' failed.

```
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
The file was removedllvm/test/CodeGen/WebAssembly/funcref-call.ll
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
The file was removedllvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
The file was removedllvm/test/CodeGen/WebAssembly/funcref-globalget.ll
The file was removedllvm/test/CodeGen/WebAssembly/externref-globalget.ll
The file was removedllvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
The file was removedllvm/test/CodeGen/WebAssembly/externref-globalset.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was removedllvm/test/CodeGen/WebAssembly/externref-unsized-store.ll
The file was modifiedclang/test/CodeGen/target-data.c
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISD.def
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was removedllvm/test/CodeGen/WebAssembly/externref-unsized-load.ll
The file was removedllvm/test/CodeGen/WebAssembly/funcref-globalset.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.h
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
The file was removedllvm/test/CodeGen/WebAssembly/externref-undef.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
Commit 7655061cc64d76615e9215cd6dcbf5ee186363be by flo
[Matrix] Hoist address computation before multiply to enable fusion.

If the store address does not dominate the matrix multiply, try to hoist
address computation instructions without side-effects and/or memory
reads before the multiply, to allow fusion.

Reviewed By: thegameg

Differential Revision: https://reviews.llvm.org/D105193
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-dominance.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit 4d2503cd5443ef7697465ab1ba199e9e69c497e9 by mgorny
[lldb] [test] Add missing category to test_detach_current
The file was modifiedlldb/test/API/tools/lldb-server/TestGdbRemoteFork.py
Commit 48db080383765893d5dca3c48ef575c36afd137b by lebedev.ri
[NFC][SimplifyCFG] Autogenerate checklines in trapping-load-unreachable.ll test
The file was modifiedllvm/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
Commit 1a248233a5d9e374f977a0ca3509e2fa0448652e by flo
[AArch64] Use custom lowering for fp16 vector copysign.

The custom copysign lowering already supports fp16. Use it.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D105277
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/vector-fcopysign.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith-fp.ll
Commit b77b2201dc1f50f10e724c8c0b63963c5d98bf74 by sven.vanhaastregt
[NFC] Fix typo in comment

Reported-by: Marco Cali <marco.cali@arm.com>
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 791ddb79f1dde3432f6214c1c8deadc59151b15e by akuegel
Add LogOp to Complex dialect.

Differential Revision: https://reviews.llvm.org/D105337
The file was modifiedmlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
The file was modifiedmlir/test/Dialect/Complex/ops.mlir
Commit c142c06c19b3725f26f33652db098a2302586f22 by Alexander.Richardson
Place the BlockAddress type in the address space of the containing function

While this should not matter for most architectures (where the program
address space is 0), it is important for CHERI (and therefore Arm Morello).
We use address space 200 for all of our code pointers and without this
change we assert in the SelectionDAG handling of BlockAddress nodes.

It is also useful for AVR: previously programs targeting
AVR that attempt to read their own machine code
via a pointer to a label would instead read from RAM
using a pointer relative to the the start of program flash.

Reviewed By: dylanmckay, theraven
Differential Revision: https://reviews.llvm.org/D48803
The file was modifiedllvm/include/llvm/AsmParser/LLParser.h
The file was addedllvm/test/CodeGen/AVR/block-address-is-in-progmem-space.ll
The file was addedllvm/test/Bitcode/blockaddress-addrspace.ll
The file was modifiedllvm/test/CodeGen/AVR/brind.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
Commit e90c6f559637446330335ce6638ae3e3827992e8 by lkail
[MachineCopyPropagation] Fix differences in code gen when compiling with -g

Fixes bugs [[ https://bugs.llvm.org/show_bug.cgi?id=50580 | 50580 ]] and [[ https://bugs.llvm.org/show_bug.cgi?id=49446 | 49446  ]]

When compiling with -g "DBG_VALUE <reg>"  instructions are added in the MIR, if such a instruction is inserted between instructions that use <reg> then MachineCopyPropagation invalidates <reg> , this causes some copies  to not be propagated and causes differences in code generation (ex bugs 50580 and 49446 ).  DBG_VALUE instructions should be ignored  since they don't actually modify the register.

Reviewed By: lkail

Differential Revision: https://reviews.llvm.org/D104394
The file was addedllvm/test/CodeGen/X86/machine-copy-dbgvalue.mir
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
Commit 28ac873bcb319c870522fc7cc8eac96b220f22e4 by a.bataev
[SLP]Fix gathering of the scalars by not ignoring UndefValues.

The compiler should not ignore UndefValue when gathering the scalars,
otherwise the resulting code may be less defined than the original one.
Also, grouped scalars to insert them at first to reduce the analysis in
further passes.

Differential Revision: https://reviews.llvm.org/D105275
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/value-bug-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/insertelement.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/geps-non-pow-2.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr35497.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/phi3.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_mandeltext.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/phi_landingpad.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_exceed_scheduling.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/value-bug.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_lencod.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/trunc-insertion.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/crash_smallpt.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reorder_repeated_ops.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/insertelement-inseltpoison.ll
Commit cdca1785d35f41ef154d7271bf97c4d1d0e69995 by llvm-dev
[CostModel][X86] Adjust uitofp(vXi64) SSE/AVX legalized costs based on llvm-mca reports.

Update v4i64 -> v4f32/v4f64 uitofp costs based on the worst case costs from the script in D103695.

Fixes a few regressions before we start adding AVX costs for legalized types.
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/uint64_to_fp64-cost-model.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/uitofp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/uitofp.ll
Commit 02ef0f5ab483875b7b6b38e24b245e4fd4053959 by mgorny
[lldb] [gdb-remote client] Refactor SetCurrentThread*()

Refactor SetCurrentThread() and SetCurrentThreadForRun() to reduce code
duplication and simplify it.  Both methods now call common
SendSetCurrentThreadPacket() that implements the common protocol
exchange part (the only variable is sending `Hg` vs `Hc`) and returns
the selected TID.  The logic is rewritten to use a StreamString
instead of snprintf().

A side effect of the change is that thread-id sent is now zero-padded.
However, this should not have practical impact on the server as both
forms are equivalent.

Differential Revision: https://reviews.llvm.org/D100459
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
Commit 2aecffcd40de99bd3155f57e9c91fe57c3207d39 by llvm-dev
[CostModel][X86] Find AVX conversion costs using legalized types if custom types didn't match

Building on rG2a1ef8784ad9a, fallback to attempting to match against legalized types like we do for SSE targets.
The file was modifiedllvm/test/Analysis/CostModel/X86/fptosi.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/sitofp.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/sitofp-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/sitofp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/uitofp.ll
Commit a3ca578eb912b6954002914d50f847f45e699ded by flo
[Matrix] Fix crash during fusion if the same load is re-used.

This patch fixes a crash when the same load is used for both operands of
a fuseable multiply.
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit a92964779cb5fa59e832816b14a30bc8dbf927a9 by thakis
Revert "[InstrProfiling] Use external weak reference for bias variable"

This reverts commit 33a7b4d9d8e6a113108aa71ed78ca32a83c68523.
Breaks check-profile on macOS, see comments on https://reviews.llvm.org/D105176
The file was addedcompiler-rt/lib/profile/InstrProfilingBiasVar.c
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was modifiedcompiler-rt/lib/profile/CMakeLists.txt
The file was modifiedcompiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
Commit 5df556ac8bb8c5f4ef3dff1a2039dd389d1d27c0 by llvmgnsyncbot
[gn build] Port a92964779cb5
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn
Commit d181fd918d18cbd99768f025e14a69d35d275f14 by llvm-dev
[CostModel][X86] Drop some hard coded fp<->int scalarization costs

Scalarization costs handling is a lot better now, and the hard coded costs were higher than the worse case numbers from the script in D103695
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/sitofp.ll
Commit d867634fbdb1f1f521981c244c410a9b839c8325 by llvm-dev
[CostModel][X86] Update comment describing source of costs - we now use llvm-mca more than IACA
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
Commit e5fdff1cf822e8687ddb5568d14b8a609a5831d0 by llvm-dev
[X86][SLM] Keep similar scheduler costs types together. NFCI.

The SLM model is inconsistent about where it kept its 'unsupported' schedule classes - better to keep them close to similar classes.

I'm not sure why some ymm classes are defined and others are unsupported though (but I haven't altered them) - the only SLM-like CPU supporting any ymm is KNL and that currently uses the HSW model.
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td
Commit 7a2c1acd5fef32bdd2e374229f66ab047c7538b5 by thakis
[llvm-dwarfdump] Add comment saying where DumpDebugFrame comes from
The file was modifiedllvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Commit 50566947e98ea845030cfa3b4c199fb9a2052d53 by sam.mccall
[clangd] Fix possible assertion fail in TUScheduler

BlockUntilIdle is supposed to return false if it fails.
If an intermediate step fails to clear the queue, we shouldn't
charge ahead and assert on the state of the queue.
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
Commit fff966b6855aee6fc0d0d4cd401cdd525a838572 by sam.mccall
Revert "[clangd] Fix possible assertion fail in TUScheduler"

This reverts commit 50566947e98ea845030cfa3b4c199fb9a2052d53.
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
Commit 597ccc92ce4b0f90883406d1f78d9d776f602804 by lebedev.ri
https://godbolt.org/z/5vhv4K5b8
The file was modifiedllvm/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit d9d65527c289fb27a9f92f150723bbb3c58e413f by lebedev.ri
[NFCI][InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable

In the original review D87149 it was mentioned that this approach was tried,
and it lead to infinite combine loops, but i'm not seeing anything like that now,
neither in the `check-llvm`, nor on some codebases i tried.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D105339
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 93a1642763c9105f0e7d8388dcd7dfc6e2bae630 by lebedev.ri
Revert "[NFCI][InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable"

This reverts commit d9d65527c289fb27a9f92f150723bbb3c58e413f.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 24d271bb18bfdb314762ceebc10b57a9c50ed506 by lebedev.ri
Revert "https://godbolt.org/z/5vhv4K5b8"

This reverts commit 597ccc92ce4b0f90883406d1f78d9d776f602804.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
Commit dadedc99e9b276cfd0f2ebf9eb553650b07b4ca4 by lebedev.ri
[InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable

In the original review D87149 it was mentioned that this approach was tried,
and it lead to infinite combine loops, but i'm not seeing anything like that now,
neither in the `check-llvm`, nor on some codebases i tried.

This is a recommit of d9d65527c289fb27a9f92f150723bbb3c58e413f,
which i immediately reverted because i have messed up something
during branch switch, and 597ccc92ce4b0f90883406d1f78d9d776f602804
accidentally ended up being pushed, which was very much not the intention.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D105339
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit ad0050c6073d8b9a6cbc9ab94c75fc5ba30051fd by nicolas.vasilache
[mlir][Linalg] Add comprehensive bufferization support for TiledLoopOp (14/n)

Differential Revision: https://reviews.llvm.org/D105335
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit 33ff8078ff744cb317ec8806c990a52d33310834 by sam.mccall
Revert "[clangd] Unbreak mac build differently 0c96a92d8666b8"

This reverts commit 2f79acb7b701c41494abff588b5f03a74ea2e11d.

Should no longer be needed after 26e1553a107f52667be879e99739a4153f8799d8
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/BUILD.gn
The file was modifiedclang-tools-extra/clangd/Transport.h
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp
Commit 13e35ac1249472d4b092d76264dcfc9fe8d7d13b by lebedev.ri
[NFC][InstCombine] visitUnreachableInst(): enhance comments somewhat
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit e42bb5e35a88c6a163934080883d4c5bc1f32cfc by sam.mccall
Reapply [clangd] Fix possible assertion fail in TUScheduler

This reverts commit fff966b6855aee6fc0d0d4cd401cdd525a838572.

Seems I managed to delete a critical ! after running the tests :-\
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
Commit 4569c14ac347180d9514f43c45c6f52569ce8f8c by gusss
Refactor TensorExp parameters into a union

To make TensorExp clearer, this change refactors the e0/e1 fields into a union: e0/e1 for a binary op tensor expression, and tensor_num for a tensor-kinded tensor expression.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D105303
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
Commit 78309ebef4a35700597bde2cca3052f9c600a0bb by david.green
[AArch64] Neon saturated truncate tests. NFC
The file was addedllvm/test/CodeGen/AArch64/qmovn.ll
Commit bf64210fd88f4f3fe920376861b418be1834add6 by Jinsong Ji
[AIX] Add dummy XCOFF MCAsmParserExtension

Implement XCOFFMCAsmParser so that we can use MC to parse inline asm.

The directives and storage mapping classes will be added later
iteratively.

Reviewed By: xgupta

Differential Revision: https://reviews.llvm.org/D105259
The file was addedllvm/lib/MC/MCParser/XCOFFAsmParser.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was addedllvm/test/MC/XCOFF/lit.local.cfg
The file was modifiedllvm/lib/MC/MCParser/CMakeLists.txt
The file was addedllvm/test/MC/XCOFF/inlineasm.s
Commit 03e9dcfd41d461633536690d1cc281e5f7300a3e by Jinsong Ji
[AIX] Use AsmParser to do inline asm parsing

Add a flag so that target can choose to use AsmParser for parsing inline asm.
And set the flag by default for AIX.

-no-intergrated-as will override this default if specified explicitly.

Reviewed By: #powerpc, shchenz

Differential Revision: https://reviews.llvm.org/D105314
The file was modifiedllvm/test/CodeGen/PowerPC/inline-asm-physical-fpr.ll
The file was addedllvm/test/CodeGen/PowerPC/inline-asm-label.ll
The file was modifiedllvm/lib/MC/MCAsmInfoXCOFF.cpp
The file was modifiedllvm/lib/MC/MCAsmInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
The file was modifiedllvm/include/llvm/MC/MCAsmInfo.h
The file was modifiedllvm/lib/CodeGen/LLVMTargetMachine.cpp
Commit 25473d7b08e906d34ecb9ee34e5199fa16cebfb2 by llvmgnsyncbot
[gn build] Port bf64210fd88f
The file was modifiedllvm/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn
Commit 361f742f168de0f0f256802a329c19d081615d0d by mvanotti
Refactor mutation strategies into a standalone library

This change introduces libMutagen/libclang_rt.mutagen.a as a subset of libFuzzer/libclang_rt.fuzzer.a. This library contains only the fuzzing strategies used by libFuzzer to produce new test inputs from provided inputs, dictionaries, and SanitizerCoverage feedback.

Most of this change is simply moving sections of code to one side or the other of the library boundary. The only meaningful new code is:

* The Mutagen.h interface and its implementation in Mutagen.cpp.
* The following methods in MutagenDispatcher.cpp:
  * UseCmp
  * UseMemmem
  * SetCustomMutator
  * SetCustomCrossOver
  * LateInitialize (similar to the MutationDispatcher's original constructor)
  * Mutate_AddWordFromTORC (uses callbacks instead of accessing TPC directly)
  * StartMutationSequence
  * MutationSequence
  * DictionaryEntrySequence
  * RecommendDictionary
  * RecommendDictionaryEntry
* FuzzerMutate.cpp (which now justs sets callbacks and handles printing)
* MutagenUnittest.cpp (which adds tests of Mutagen.h)

A note on performance: This change was tested with a 100 passes of test/fuzzer/LargeTest.cpp with 1000 runs per pass, both with and without the change. The running time distribution was qualitatively similar both with and without the change, and the average difference was within 30 microseconds (2.240 ms/run vs 2.212 ms/run, respectively). Both times were much higher than observed with the fully optimized system clang (~0.38 ms/run), most likely due to the combination of CMake "dev mode" settings (e.g. CMAKE_BUILD_TYPE="Debug", LLVM_ENABLE_LTO=OFF, etc.). The difference between the two versions built similarly seems to be "in the noise" and suggests no meaningful performance degradation.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D102447
The file was addedcompiler-rt/lib/fuzzer/mutagen/Mutagen.h
The file was modifiedcompiler-rt/lib/fuzzer/build.sh
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenSequence.h
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenUtilPosix.cpp
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenUtilWindows.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerDriver.cpp
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenDictionary.h
The file was modifiedcompiler-rt/lib/fuzzer/tests/CMakeLists.txt
The file was modifiedcompiler-rt/lib/fuzzer/CMakeLists.txt
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerInternal.h
The file was addedcompiler-rt/lib/fuzzer/mutagen/Mutagen.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerDefs.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenCrossOver.cpp
The file was addedcompiler-rt/lib/fuzzer/mutagen/build.sh
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerRandom.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMutate.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenDispatcher.h
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenUtil.h
The file was addedcompiler-rt/lib/fuzzer/tests/MutagenUnittest.cpp
The file was addedcompiler-rt/lib/fuzzer/mutagen/CMakeLists.txt
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtil.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerTracePC.cpp
The file was removedcompiler-rt/lib/fuzzer/FuzzerDictionary.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMutate.cpp
The file was removedcompiler-rt/lib/fuzzer/FuzzerCrossOver.cpp
The file was addedcompiler-rt/lib/fuzzer/mutagen/MutagenDispatcher.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerLoop.cpp
The file was modifiedcompiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
The file was modifiedcompiler-rt/test/fuzzer/CMakeLists.txt
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerTracePC.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
Commit 7c5d654f64ceae5060132e9cc4b945a4ac60619c by gcmn
[Bazel] Fix build for c0a6318d96

This adds explicit deps to satisfy layering_check

Differential Revision: https://reviews.llvm.org/D105356
The file was modifiedutils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit f239026f89b24e4eeaf16f171f95da53e28f36f0 by gysit
[mlir][linalg][python] Add min operation in OpDSL.

Add the min operation to OpDSL and introduce a min pooling operation to test the implementation. The patch is a sibling of the max operation patch https://reviews.llvm.org/D105203 and the min operation is again lowered to a compare and select pair.

Differential Revision: https://reviews.llvm.org/D105345
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
The file was modifiedmlir/test/python/dialects/linalg/opdsl/emit_structured_generic.py
The file was modifiedmlir/test/python/integration/dialects/linalg/opsrun.py
Commit 21e92612c006ef8aa2744f5fff6d0a060e6524e3 by atmndp
[Libomptarget] Experimental Remote Plugin Fixes

D97883 introduced a compile-time error in the experimental remote offloading
libomptarget plugin, this patch fixes it and resolves a number of
inconsistencies in the plugin as well:

1. Non-functional Asynchronous API
2. Unnecessarily verbose debug printing
3. Misc. code clean ups

This is not intended to make any functional changes to the plugin.

Differential Revision: https://reviews.llvm.org/D105325
The file was modifiedopenmp/libomptarget/plugins/remote/include/openmp.proto
The file was modifiedopenmp/libomptarget/plugins/remote/server/Server.h
The file was modifiedopenmp/libomptarget/plugins/remote/src/Client.cpp
The file was modifiedopenmp/libomptarget/plugins/remote/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/remote/server/Server.cpp
The file was modifiedopenmp/libomptarget/plugins/remote/src/Client.h
The file was modifiedopenmp/libomptarget/plugins/remote/lib/Utils.cpp
The file was modifiedopenmp/libomptarget/plugins/remote/server/OffloadingServer.cpp
The file was modifiedopenmp/libomptarget/plugins/remote/include/Utils.h
Commit db188adfb12f6783c5419d5165a1123b9f5b56b0 by nicolas.vasilache
[mlir][Vector] NFC - Compress vector to outerproduct lowering.

The implementation has become too unwieldy and cognitive overhead wins.
Instead compress the implementation in preparation for additional lowering paths.

Differential Revision: https://reviews.llvm.org/D105359
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit c5d725172d4d919dcdc5a64a21699b6309a7b872 by mvanotti
Revert "Refactor mutation strategies into a standalone library"

This reverts commit 361f742f168de0f0f256802a329c19d081615d0d.
The file was removedcompiler-rt/lib/fuzzer/mutagen/CMakeLists.txt
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenSequence.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMutate.h
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenUtilWindows.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerLoop.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerTracePC.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerTracePC.h
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenUtilPosix.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenDispatcher.h
The file was modifiedcompiler-rt/lib/fuzzer/tests/CMakeLists.txt
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerRandom.h
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenDictionary.h
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenCrossOver.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerDriver.cpp
The file was removedcompiler-rt/lib/fuzzer/tests/MutagenUnittest.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerInternal.h
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenUtil.h
The file was addedcompiler-rt/lib/fuzzer/FuzzerCrossOver.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtil.h
The file was removedcompiler-rt/lib/fuzzer/mutagen/build.sh
The file was modifiedcompiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
The file was modifiedcompiler-rt/test/fuzzer/CMakeLists.txt
The file was removedcompiler-rt/lib/fuzzer/mutagen/Mutagen.h
The file was addedcompiler-rt/lib/fuzzer/FuzzerDictionary.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerDefs.h
The file was modifiedcompiler-rt/lib/fuzzer/build.sh
The file was modifiedcompiler-rt/lib/fuzzer/CMakeLists.txt
The file was removedcompiler-rt/lib/fuzzer/mutagen/Mutagen.cpp
The file was removedcompiler-rt/lib/fuzzer/mutagen/MutagenDispatcher.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMutate.cpp
Commit dba74c68178bfaa54e6270d4790b78ef5b6e37c2 by sivachandra
[libc] Make ULP error reflect the bit distance more closely.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D105334
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
Commit 99f00635d7acf1cbcdba35e7621f3a211aa3f237 by jacobhegna
Unpack the CostEstimate feature in ML inlining models.

This change yields an additional 2% size reduction on an internal search
binary, and an additional 0.5% size reduction on fuchsia.

Differential Revision: https://reviews.llvm.org/D104751
The file was modifiedllvm/include/llvm/Analysis/InlineModelFeatureMaps.h
The file was modifiedllvm/lib/Analysis/models/inlining/config.py
The file was modifiedllvm/include/llvm/Analysis/InlineCost.h
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/unittests/Analysis/CMakeLists.txt
The file was modifiedllvm/lib/Analysis/MLInlineAdvisor.cpp
The file was addedllvm/unittests/Analysis/InlineCostTest.cpp
Commit 75e941b05c78e19c51e5c960c925f334b08109bb by joachim
[NFC][OpenMP][CUDA] Add test for using `-x cuda -fopenmp`

This adds a very basic test in `cuda_with_openmp.cu` that just checks whether the CUDA & OpenMP integrated headers do compile, when a CUDA file is compiled with OpenMP (CPU) enabled.
Thus this basically adds the missing test for https://reviews.llvm.org/D90415.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D105322
The file was addedclang/test/Headers/Inputs/include/crt/device_functions.hpp
The file was addedclang/test/Headers/Inputs/include/device_double_functions.h
The file was addedclang/test/Headers/Inputs/include/driver_types.h
The file was modifiedclang/test/Headers/Inputs/include/cstdlib
The file was addedclang/test/Headers/Inputs/include/sm_20_intrinsics.hpp
The file was addedclang/test/Headers/Inputs/include/sm_60_atomic_functions.hpp
The file was addedclang/test/Headers/Inputs/include/device_atomic_functions.hpp
The file was addedclang/test/Headers/Inputs/include/sm_20_atomic_functions.hpp
The file was addedclang/test/Headers/Inputs/include/sm_61_intrinsics.hpp
The file was addedclang/test/Headers/Inputs/include/crt/device_double_functions.hpp
The file was addedclang/test/Headers/Inputs/include/crt/sm_70_rt.hpp
The file was addedclang/test/Headers/cuda_with_openmp.cu
The file was addedclang/test/Headers/Inputs/include/curand_mtgp32_kernel.h
The file was addedclang/test/Headers/Inputs/include/texture_indirect_functions.h
The file was addedclang/test/Headers/Inputs/include/cuda.h
The file was addedclang/test/Headers/Inputs/include/cuda_runtime.h
The file was addedclang/test/Headers/Inputs/include/math_functions_dbl_ptx3.hpp
The file was addedclang/test/Headers/Inputs/include/host_config.h
The file was addedclang/test/Headers/Inputs/include/crt/math_functions.hpp
The file was addedclang/test/Headers/Inputs/include/string.h
The file was addedclang/test/Headers/Inputs/include/sm_32_atomic_functions.hpp
The file was addedclang/test/Headers/Inputs/include/device_atomic_functions.h
The file was addedclang/test/Headers/Inputs/include/host_defines.h
The file was addedclang/test/Headers/Inputs/include/crt/device_runtime.h
The file was modifiedclang/test/Headers/Inputs/include/new
The file was addedclang/test/Headers/Inputs/include/crt/host_runtime.h
Commit 94ff00f988938d9f653eadde03cbe752eddb5120 by llvmgnsyncbot
[gn build] Port 99f00635d7ac
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Analysis/BUILD.gn
Commit 2ff5a56e1ab2a95c36d3c5d2bef7c585125718ae by cjdb
[libcxx][type_traits] remove `std::is_literal_type` and `std::result_of` for C++20

C++17 deprecated `std::is_literal_type` and `std::result_of`, C++20 removed them.

Implements parts of:
    * P0174R2 'Deprecating Vestigial Library Parts in C++17'.
    * P0619R4 'Reviewing Deprecated Facilities of C++17 for C++20'.

Reviewed By: ldionne, Mordante, Quuxplusone, #libc

Differential Revision: https://reviews.llvm.org/D102992
The file was addedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.deprecated.fail.cpp
The file was modifiedlibcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
The file was addedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.deprecated.fail.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp
The file was modifiedlibcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
The file was addedlibcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/dtor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp
The file was modifiedlibcxx/test/support/poisoned_hash_helper.h
The file was modifiedlibcxx/docs/UsingLibcxx.rst
The file was modifiedlibcxx/include/__config
The file was removedlibcxx/test/std/utilities/any/any.class/not_literal_type.pass.cpp
The file was modifiedlibcxx/docs/Cxx2aStatus.rst
The file was removedlibcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h
The file was modifiedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/test/std/utilities/function.objects/func.invoke/invoke_constexpr.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp
The file was addedlibcxx/test/support/atomic_helpers.h
The file was addedlibcxx/test/std/atomics/atomics.types.generic/standard_layout.compile.pass.cpp
Commit 37b6e03c18e252520da14e7517053f75d23262a0 by Jon Roelofs
[Intrinsics] Make MemCpyInlineInst a MemCpyInst

This opens up more optimization opportunities in passes that already handle MemCpyInst's.

Differential revision: https://reviews.llvm.org/D105247
The file was addedllvm/test/Transforms/LoopIdiom/memcpy-inline-intrinsic.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy.ll
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/test/Transforms/InferAddressSpaces/AMDGPU/mem-intrinsics.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/include/llvm/IR/InstVisitor.h
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
Commit 8cc8caa1b1fc1d58fe0253d39de3fe86b60aa110 by jacobhegna
[MLGO] Update Oz model url.
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
Commit 7f7e4aed21c22c8bcf9bebdff38ed2e582b4d434 by a.bataev
[SLP][NFC]Refactor findLaneForValue and make it static member, NFC, by
V.Dmitriev.

Reduces number of arguments
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 884bc6a6ed95befa128e4bcb1a1e64cf39d73117 by craig.topper
[X86] Modify LOOP*, HLT control flow attributes

Add missing control flow attributes:
- LOOP*: isBranch, isTerminator
- HLT: isTerminator

This helps downstream disassemblers (such as BOLT) reconstruct the control
flow graph more accurately.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D102297
The file was modifiedllvm/lib/Target/X86/X86InstrControl.td
The file was modifiedllvm/lib/Target/X86/X86InstrSystem.td
Commit c7c5a1c9ae34112b8129cb2b5554e75567389f2a by vyng
[lld-macho] Ignore debug symbols while preparing relocations.

Details: see https://bugs.llvm.org/show_bug.cgi?id=50812

Differential Revision: https://reviews.llvm.org/D105210
The file was modifiedlld/MachO/InputFiles.cpp
The file was addedlld/test/MachO/bug_50812.s
Commit 4525d52c73de592dad73518a54d8925c66b20549 by joker.eph
Revert "[mlir][Vector] NFC - Compress vector to outerproduct lowering."

This reverts commit db188adfb12f6783c5419d5165a1123b9f5b56b0.

Breaks the GCC tests, likely because of some order of evaluation
difference between clang and gcc.
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit 3ec88ca60b24418b2216de88fad1da4f269f6b8c by 31459023+hctim
Revert "[clang-repl] Allow passing in code as positional arguments."

This reverts commit e386871e1d21cf206a1287356e88c5853563fc77.

Reason: Broke the ASan buildbots
(https://lab.llvm.org/buildbot/#/builders/5/builds/9291). See comments
on https://reviews.llvm.org/D104898 for more information.
The file was modifiedclang/test/Interpreter/execute.cpp
The file was modifiedclang/tools/clang-repl/ClangRepl.cpp
Commit d1a96e906cc03a95cfd41a1f22bdda92651250c7 by sbc
[clang][emscripten] Reduce alignof long double from 16 to 8 bytes

This means `max_align_t` is 8 bytes which also sets the alignment
malloc.  Since this is technically and ABI breaking change we have
limited to just the emscripten OS target.  It is also relatively low
import breakage since it will only effect the alignement of struct that
contai `long double`s (extremerly rare I imagine).

Emscripten's malloc implementation already use 8 byte alignement
(dlmalloc uses and alignement of 2*sizeof(void*) == 8 rather than
checking max_align_t) so will not be effected by this change.  By
bringing the ABI in line with the current malloc code this will fix
several issue we have seen in the wild.

See: https://github.com/emscripten-core/emscripten/pull/14456

Differential Revision: https://reviews.llvm.org/D104808
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
Commit 81b42ca95137d0993f7be121c4e307bbb16e2830 by kparzysz
[Hexagon] Handle opaque pointers in vector combine
The file was modifiedllvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
Commit df88c26f0d6fbe93c5e51ec504cdeb52a03929b9 by kparzysz
[OpaquePtr] Add type parameter to emitLoadLinked

Differential Revision: https://reviews.llvm.org/D105353
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/lib/CodeGen/AtomicExpandPass.cpp
The file was addedllvm/test/CodeGen/Hexagon/atomic-opaque-basic.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit cdf7b661c24d037461492544996925dd5257911b by ravishankarm
[mlir][Linalg] Fix incorrect logic in deciding when to fuse reshapes by linearization.

Fusion by linearization should not happen when
- The reshape is expanding and it is a consumer
- The reshape is collapsing and is a producer.

The bug introduced in this logic by some recent refactoring resulted
in a crash.
To enforce this (negetive) use case, add a test that reproduces the
error and verifies the fix.

Differential Revision: https://reviews.llvm.org/D104970
The file was addedmlir/test/Dialect/Linalg/reshape_linearization_fusion_with_unit_dims.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
Commit 678211de6d5f75c22beb72ec1203b1e857ddebf3 by epastor
[ms] [llvm-ml] Standardize blocking of lexical substitution

In MASM, the ifdef family of directives treats its argument literally, without expanding it as a text macro. Add support for this, and also replace the special handling that was previously used for echo.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D104196
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp
The file was modifiedllvm/test/tools/llvm-ml/command_line_defines.asm
Commit fd2433e139f78658e059cf911af8ae735fcda57c by Jonas Devlieghere
[lldb] Replace default bodies of special member functions with = default;

Replace default bodies of special member functions with = default;

$ run-clang-tidy.py -header-filter='lldb' -checks='-*,modernize-use-equals-default' -fix ,

https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html

Differential revision: https://reviews.llvm.org/D104041
The file was modifiedlldb/include/lldb/Target/Unwind.h
The file was modifiedlldb/source/DataFormatters/TypeSynthetic.cpp
The file was modifiedlldb/source/Expression/IRInterpreter.cpp
The file was modifiedlldb/source/Core/ValueObjectVariable.cpp
The file was modifiedlldb/source/Host/common/PseudoTerminal.cpp
The file was modifiedlldb/include/lldb/Utility/TraceGDBRemotePackets.h
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointSiteList.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm64.cpp
The file was modifiedlldb/source/Commands/CommandObjectLanguage.cpp
The file was modifiedlldb/source/Commands/CommandObjectRegexCommand.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.h
The file was modifiedlldb/source/Utility/DataBufferLLVM.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Core/ValueObjectConstResultChild.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
The file was modifiedlldb/include/lldb/Target/InstrumentationRuntimeStopInfo.h
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_s390x.cpp
The file was modifiedlldb/source/Host/common/SocketAddress.cpp
The file was modifiedlldb/include/lldb/Core/Opcode.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.cpp
The file was modifiedlldb/source/Core/AddressResolver.cpp
The file was modifiedlldb/source/Host/macosx/cfcpp/CFCString.cpp
The file was modifiedlldb/include/lldb/Host/ProcessLauncher.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/source/Target/Language.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Symbol/Variable.cpp
The file was modifiedlldb/include/lldb/Expression/Expression.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
The file was modifiedlldb/include/lldb/Core/StreamBuffer.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
The file was modifiedlldb/source/Symbol/TypeSystem.cpp
The file was modifiedlldb/include/lldb/DataFormatters/DumpValueObjectOptions.h
The file was modifiedlldb/source/Target/ThreadPlanBase.cpp
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/include/lldb/Utility/Baton.h
The file was modifiedlldb/source/Interpreter/OptionValueFileColonLine.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/include/lldb/DataFormatters/TypeSummary.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
The file was modifiedlldb/include/lldb/Utility/DataBuffer.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
The file was modifiedlldb/source/Core/AddressRange.cpp
The file was modifiedlldb/include/lldb/Core/ThreadSafeValue.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h
The file was modifiedlldb/include/lldb/Host/MainLoopBase.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
The file was modifiedlldb/source/Symbol/LineTable.cpp
The file was modifiedlldb/include/lldb/Symbol/CompactUnwindInfo.h
The file was modifiedlldb/include/lldb/Utility/StreamTee.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMemory.cpp
The file was modifiedlldb/source/Symbol/SymbolContext.cpp
The file was modifiedlldb/include/lldb/Target/RegisterCheckpoint.h
The file was modifiedlldb/source/Symbol/CompactUnwindInfo.cpp
The file was modifiedlldb/include/lldb/Interpreter/ScriptInterpreter.h
The file was modifiedlldb/source/Initialization/SystemInitializer.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
The file was modifiedlldb/source/Utility/Args.cpp
The file was modifiedlldb/include/lldb/Host/Terminal.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedlldb/source/Symbol/Function.cpp
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/include/lldb/Expression/ExpressionTypeSystemHelper.h
The file was modifiedlldb/include/lldb/Host/HostNativeProcessBase.h
The file was modifiedlldb/source/Core/ValueObjectMemory.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
The file was modifiedlldb/include/lldb/Host/common/NativeThreadProtocol.h
The file was modifiedlldb/source/Breakpoint/BreakpointResolver.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValue.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStack.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointLocationCollection.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/source/Host/macosx/cfcpp/CFCMutableDictionary.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h
The file was modifiedlldb/source/Expression/UserExpression.cpp
The file was modifiedlldb/include/lldb/Expression/ExpressionParser.h
The file was modifiedlldb/source/Plugins/Platform/Android/AdbClient.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp
The file was modifiedlldb/source/Core/ValueObjectConstResultCast.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupFile.cpp
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/ThreadMinidump.cpp
The file was modifiedlldb/include/lldb/Utility/UserID.h
The file was modifiedlldb/source/Utility/GDBRemote.cpp
The file was modifiedlldb/source/Host/posix/HostThreadPosix.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/HistoryUnwind.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTUtils.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/source/DataFormatters/TypeSummary.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/source/Host/common/XML.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.h
The file was modifiedlldb/.clang-tidy
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
The file was modifiedlldb/source/Symbol/TypeMap.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/source/Core/FileLineResolver.cpp
The file was modifiedlldb/include/lldb/lldb-private-types.h
The file was modifiedlldb/source/Breakpoint/WatchpointList.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp
The file was modifiedlldb/source/Core/SourceManager.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h
The file was modifiedlldb/include/lldb/Symbol/DeclVendor.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
The file was modifiedlldb/include/lldb/Target/StopInfo.h
The file was modifiedlldb/source/Host/macosx/cfcpp/CFCMutableArray.cpp
The file was modifiedlldb/include/lldb/Interpreter/Options.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
The file was modifiedlldb/source/Core/ValueObjectRegister.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
The file was modifiedlldb/source/Core/ModuleChild.cpp
The file was modifiedlldb/source/Target/QueueItem.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
The file was modifiedlldb/source/Core/AddressResolverFileLine.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Expression/IRExecutionUnit.cpp
The file was modifiedlldb/source/Utility/StringExtractor.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.h
The file was modifiedlldb/source/Breakpoint/Stoppoint.cpp
The file was modifiedlldb/source/Symbol/Block.cpp
The file was modifiedlldb/include/lldb/Symbol/Type.h
The file was modifiedlldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
The file was modifiedlldb/include/lldb/Utility/VMRange.h
The file was modifiedlldb/source/Symbol/FuncUnwinders.cpp
The file was modifiedlldb/source/Target/StructuredDataPlugin.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
The file was modifiedlldb/source/Core/ValueObjectConstResult.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoInterface.h
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/source/Host/common/Terminal.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/source/Host/common/HostNativeThreadBase.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Utility/Stream.cpp
The file was modifiedlldb/source/Utility/StringList.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
The file was modifiedlldb/source/Symbol/ArmUnwindInfo.cpp
The file was modifiedlldb/source/Symbol/UnwindTable.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
The file was modifiedlldb/include/lldb/DataFormatters/ValueObjectPrinter.h
The file was modifiedlldb/include/lldb/Target/UnixSignals.h
The file was modifiedlldb/include/lldb/Utility/Event.h
The file was modifiedlldb/source/Host/macosx/cfcpp/CFCBundle.cpp
The file was modifiedlldb/source/Host/common/NativeRegisterContext.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
The file was modifiedlldb/source/Utility/TildeExpressionResolver.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h
The file was modifiedlldb/source/Host/common/HostProcess.cpp
The file was modifiedlldb/source/Host/macosx/cfcpp/CFCData.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_x86_64.cpp
The file was modifiedlldb/source/Target/JITLoaderList.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulationStateARM.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
The file was modifiedlldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointList.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was modifiedlldb/source/Target/Memory.cpp
The file was modifiedlldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
The file was modifiedlldb/source/Core/PluginManager.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp
The file was modifiedlldb/source/Commands/CommandObjectHelp.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_arm.cpp
The file was modifiedlldb/source/Core/ValueObjectCast.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
The file was modifiedlldb/include/lldb/Symbol/TaggedASTType.h
The file was modifiedlldb/include/lldb/Core/EmulateInstruction.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/include/lldb/Core/UserSettingsController.h
The file was modifiedlldb/include/lldb/Host/HostInfoBase.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
The file was modifiedlldb/source/Host/posix/HostProcessPosix.cpp
The file was modifiedlldb/source/Target/ThreadPlanCallUserExpression.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/source/Commands/CommandObjectVersion.cpp
The file was modifiedlldb/source/Symbol/TypeList.cpp
The file was modifiedlldb/source/Utility/StreamString.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
The file was modifiedlldb/source/Expression/ExpressionVariable.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/include/lldb/Host/FileCache.h
The file was modifiedlldb/include/lldb/Host/HostNativeThreadBase.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_i386.cpp
The file was modifiedlldb/source/Core/StreamFile.cpp
The file was modifiedlldb/include/lldb/Expression/Materializer.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h
The file was modifiedlldb/source/Commands/CommandObjectQuit.cpp
The file was modifiedlldb/source/Core/ValueObjectChild.cpp
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/include/lldb/DataFormatters/TypeSynthetic.h
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
The file was modifiedlldb/source/Utility/Event.cpp
The file was modifiedlldb/include/lldb/Host/common/NativeProcessProtocol.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
The file was modifiedlldb/source/Commands/CommandObjectScript.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
The file was modifiedlldb/include/lldb/Host/ProcessRunLock.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
The file was modifiedlldb/include/lldb/Target/ExecutionContextScope.h
The file was modifiedlldb/source/DataFormatters/TypeFormat.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/source/Commands/CommandObjectGUI.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h
The file was modifiedlldb/include/lldb/Target/ThreadCollection.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
The file was modifiedlldb/source/Symbol/VariableList.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit da81ec61585b717d7f0c07aa3e2b5460eeeb6ce3 by lebedev.ri
[SimplifyCFG] Volatile memory operations do not trap

Somewhat related to D105338.
While it is up for discussion whether or not volatile store traps,
so far there has been no complaints that volatile load/cmpxchg/atomicrmw also may trap.
And even if simplifycfg currently concervatively believes that to be the case,
instcombine does not: https://godbolt.org/z/5vhv4K5b8

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D105343
The file was modifiedllvm/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 35d4593e6b555f852088211f5561c0e360c98c91 by jpienaar
Add C API files for the LLVM dialect

For now only expose a builder for the LLVM pointer type.

Reviewed By: jpienaar, ftynse

Differential Revision: https://reviews.llvm.org/D105346
The file was addedmlir/include/mlir-c/Dialect/LLVM.h
The file was modifiedmlir/test/CMakeLists.txt
The file was addedmlir/test/CAPI/llvm.c
The file was modifiedmlir/lib/CAPI/Dialect/CMakeLists.txt
The file was addedmlir/lib/CAPI/Dialect/LLVM.cpp
The file was modifiedmlir/test/CAPI/CMakeLists.txt
Commit 51fecd17bbe04ccf1551132b5fffac43139c7af8 by aheejin
[InstCombine] Don't combine PHI before catchswitch

This tries to bail out if the PHI is in a `catchswitch` BB in
InstCombine. A PHI cannot be combined into a non-PHI instruction if it
is in a `catchswitch` BB, because `catchswitch` BB cannot have any
non-PHI instruction other than `catchswitch` itself.

The given test case started crashing after D98058.

Reviewed By: lebedev.ri, rnk

Differential Revision: https://reviews.llvm.org/D105309
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
The file was addedllvm/test/Transforms/InstCombine/catchswitch-phi.ll
Commit 53fef0b2933a120b2ee876127c574002f8eb8c14 by lebedev.ri
[NFCI][SimplifyCFG] simplifyUnreachable(): Use poison constant to represent the result of unreachable instrs

Mimics similar change for InstCombine:
  ce192ced2b901be67444c481ab5ca0d731e6d982 / D104602

All these uses are in blocks that aren't reachable from function's entry,
and said blocks are removed by SimplifyCFG itself,
so we can't really test this change.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 0111da2ef80adc516f13d7c7f4125eb9eea6c08f by Amara Emerson
[GlobalISel] Add re-association combine for G_PTR_ADD to allow better addressing mode usage.

We're trying to match a few pointer computation patterns here for
re-association opportunities.
1) Isolating a constant operand to be on the RHS, e.g.:
   G_PTR_ADD(BASE, G_ADD(X, C)) -> G_PTR_ADD(G_PTR_ADD(BASE, X), C)

2) Folding two constants in each sub-tree as long as such folding
   doesn't break a legal addressing mode.
   G_PTR_ADD(G_PTR_ADD(BASE, C1), C2) -> G_PTR_ADD(BASE, C1+C2)

AArch64 code size improvements on CTMark with -Os:
Program              before  after   diff
pairlocalalign      251048  251044 -0.0%
consumer-typeset    421820  421812 -0.0%
kc                  431348  431320 -0.0%
SPASS               413404  413300 -0.0%
clamscan            384396  384220 -0.0%
tramp3d-v4          370640  370412 -0.1%
lencod              432096  431772 -0.1%
bullet              479400  478796 -0.1%
sqlite3             288504  288072 -0.1%
7zip-benchmark      573796  570768 -0.5%
Geomean difference                 -0.1%

Differential Revision: https://reviews.llvm.org/D105069
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/combine-ptradd-reassociation.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
Commit aa319f544ad41ecc46f79e67fbbb361cd9036f16 by mgorny
[lldb] [gdb-remote client] Support switching PID along with TID

Extend the SetCurrentThread() method to support specifying an alternate
PID to switch to.  This makes it possible to issue requests to forked
processes.

Differential Revision: https://reviews.llvm.org/D100262
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 7dd8f98a687764782c2cdc0e0ef897290e6cfe88 by lebedev.ri
[NFC][SimplifyCFG] Autogenerate checklines in a few tests
The file was modifiedllvm/test/Transforms/SimplifyCFG/wineh-unreachable.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/empty-catchpad.ll
Commit 5d689cf2a667d8dc51768400455e0ecc55d19eaf by joachim
[NFC][CUDA] Fix order of round(f) definition in __clang_cuda_math.h for non-LP64.

This broke ARM builds e.g.: https://lab.llvm.org/buildbot/#/builders/187/builds/212
The file was modifiedclang/lib/Headers/__clang_cuda_math.h
Commit f30251f5272e8b4dc1dec00f01dff807eb8a7895 by Amara Emerson
[GlobalISel] Clean up CombinerHelper::apply* functions to return void.

For some reason we/I started writing these as returning bool when the return value
is actually ignored by the combiner.
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 707bda6e6c958d7a4d50aac23a15a253364a1f69 by medismail.bennani
[lldb/test] Fix failure caused by synthetic symbol name refactoring

This patch fixes a failure in `TestFunctionStarts.py` that appeared
following a change of implementation for synthetic symbol names:

https://reviews.llvm.org/D105160

The failure is caused because the previously mentioned patch removes the
object file basename from the generated synthetic symbol names to allow
them to be shared in the constant string pool.

Hence, that last check is not necessary anymore.

rdar://80092322

Differential Revision: https://reviews.llvm.org/D105366

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/API/macosx/function-starts/TestFunctionStarts.py
Commit 261c56f80b1e4d9a4e08094faf79e9296f1939d1 by lebedev.ri
[NFC][Codegen] Tune a few tests to not end with a naked `unreachable` terminator

These rely on the fact that currently simplifycfg won't really propagate
said `unreachable`, but that is about to change.
The file was modifiedllvm/test/CodeGen/Hexagon/reg-scavengebug.ll
The file was modifiedllvm/test/CodeGen/Hexagon/branchfolder-keep-impdef.ll
The file was modifiedllvm/test/CodeGen/AArch64/pr33172.ll
The file was modifiedllvm/test/CodeGen/ARM/memfunc.ll
The file was modifiedllvm/test/CodeGen/ARM/machine-cse-cmp.ll
The file was modifiedllvm/test/CodeGen/ARM/Windows/memset.ll
Commit f9d8b8dd1238ee81bce25594ee1708c314be79e5 by lebedev.ri
[NFC][Codegen] Autogenerate check lines in PowerPC/2007-11-16-landingpad-split.ll

It is being affected by an upcoming SimplifyCFG change.
The file was modifiedllvm/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll
Commit dd1c4bd09dd7a48c744f58847862f2e2bd633477 by 31459023+hctim
Name all DEATH tests using 'DeathTest' suffix.

gtest highly recommends this prefix, and runs death tests first
(https://github.com/google/googletest/blob/master/docs/advanced.md#death-test-naming).
This may help with some spurious bot failures like
https://lab.llvm.org/buildbot/#/builders/169/builds/1290/steps/25/logs/stdio.

Reviewed By: cryptoad, vitalybuka

Differential Revision: https://reviews.llvm.org/D105371
The file was modifiedcompiler-rt/lib/gwp_asan/tests/enable_disable.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/chunk_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/report_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/map_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/backtrace.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Commit cb5de7c813f976dd458bd2a7f40702ba648bf650 by nicolas.vasilache
[mlir][Vector] NFC - Compress vector to outerproduct lowering.

The implementation has become too unwieldy and cognitive overhead wins.
Instead compress the implementation in preparation for additional lowering paths.

This is a resubmit of https://reviews.llvm.org/D105359 without ordering ambiguities.

Differential Revision: https://reviews.llvm.org/D105367
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit bf7f846b683077a8adcb229624082e525870229b by dblaikie
Fix test so it doesn't try to write to the test directory, only to %t
The file was modifiedlld/test/MachO/bug_50812.s
Commit a5c3f10b7527e1aa020d5d05703bb816a3e936fb by Jonas Devlieghere
[lldb] Update shebang in heap.py and crashlog.py
The file was modifiedlldb/examples/darwin/heap_find/heap.py
The file was modifiedlldb/examples/python/crashlog.py
Commit 24f4c3ebef63c7d2553132d7d9d75ea19338bcb7 by Saleem Abdulrasool
Lex: add a callback for `#pragma mark`

Allow a preprocessor observer to be notified of mark pragmas.  Although
this does not impact code generation in any way, it is useful for other
clients, such as clangd, to be able to identify any marked regions.

Reviewed By: dgoldman

Differential Revision: https://reviews.llvm.org/D105368
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/unittests/Lex/PPCallbacksTest.cpp
The file was modifiedclang/include/clang/Lex/PPCallbacks.h
The file was modifiedclang/include/clang/Lex/Preprocessor.h
Commit b8a021dbe322c4fae196318df7c0ebb2dd0f4a31 by ajcbik
[mlir][sparse] support for negation and subtractions

This revision extends the sparse compiler support from fp/int addition and multiplication to fp/int negation and subtraction, thereby increasing the scope of sparse kernels that can be compiled.

Reviewed By: gussmith23

Differential Revision: https://reviews.llvm.org/D105306
The file was addedmlir/test/Dialect/SparseTensor/sparse_int_ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
The file was addedmlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir
Commit 52b5491a212a78e93e869b43ec325ddbd8832784 by Jonas Devlieghere
Revert "[DebugInfo] Enforce implicit constraints on `distinct` MDNodes"

This reverts commit 8cd35ad854ab4458fd509447359066ea3578b494.

It breaks `TestMembersAndLocalsWithSameName.py` on GreenDragon and
Mikael Holmén points out in D104827 that bitcode files created with the
patch cannot be parsed with binaries built before it.
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/include/llvm/AsmParser/LLParser.h
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was removedllvm/test/Assembler/invalid-diarglist-outside-function.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was removedllvm/test/Assembler/invalid-diexpression-distinct.ll
The file was removedllvm/test/Bitcode/DIExpression-is-distinct-upgrade.ll.bc
The file was modifiedllvm/include/llvm/IR/Metadata.def
The file was removedllvm/test/Bitcode/DIExpression-is-distinct-upgrade.ll
The file was modifiedllvm/lib/IR/LLVMContextImpl.cpp
The file was modifiedllvm/docs/SourceLevelDebugging.rst
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
Commit 6b0d266036f73f5ee9556d211a7d0946091ff3b2 by Jonas Devlieghere
Revert "Create synthetic symbol names on demand to improve memory consumption and startup times."

This reverts commit c8164d0276b97679e80db01adc860271ab4a5d11 and
43f6dad2344247976d5777f56a1fc29e39c6c717 because it breaks
TestDyldTrieSymbols.py on GreenDragon.
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/test/Shell/ObjectFile/ELF/eh_frame-symbols.yaml
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/symtab.test
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Symbol/Symbol.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
Commit 252a1eecc04080d852ba58c6727970c688eb1619 by i
[ThinLTO] Respect ClearDSOLocalOnDeclarations for unimported functions

D74751 added `ClearDSOLocalOnDeclarations` and dropped dso_local for
isDeclarationForLinker `GlobalValue`s. It missed a case for imported
declarations (`doImportAsDefinition` is false while `isPerformingImport` is
true). This can lead to a linker error for a default visibility symbol in
`ld.lld -shared`.

When `ClearDSOLocalOnDeclarations` is true, we check
`isPerformingImport() && !doImportAsDefinition(&GV)` along with
`GV.isDeclarationForLinker()`. The new condition checks an imported declaration.

This patch fixes a `LLVMPolly.so` link error using a trunk clang -DLLVM_ENABLE_LTO=Thin.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D104986
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-linkage.ll
The file was addedllvm/test/ThinLTO/X86/import-dsolocal.ll
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
Commit af331e82845523751d39193ae657ca4f20ba1576 by craig.topper
[SelectionDAG] Rename memory VT argument for getMaskedGather/getMaskedScatter from VT to MemVT.

Use getMemoryVT() in MGATHER/MSCATTER DAG combines instead of
using the passthru or store value VT for this argument.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
Commit c063946476e083a9a0c5bd397337d1ece4742ec6 by lkail
[AIX] Adjust CSR order to avoid breaking ABI regarding traceback

Allocate non-volatile registers in order to be compatible with ABI, regarding gpr_save.

Quoted from https://www.ibm.com/docs/en/ssw_aix_72/assembler/assembler_pdf.pdf page55,
> The preferred method of using GPRs is to use the volatile registers first. Next, use the nonvolatile registers
> in descending order, starting with GPR31.

This patch is based on @jsji 's initial draft.

Tested on test-suite and SPEC, found no degradation.

Reviewed By: jsji, ZarkoCA, xingxue

Differential Revision: https://reviews.llvm.org/D100167
The file was modifiedllvm/test/CodeGen/PowerPC/aix-tracetable-csr.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-abi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-csr-alloc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/inc-of-add.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.td