SuccessChanges

Summary

  1. [NFC][MLInliner] Set up the logger outside the development mode advisor (details)
  2. [NFC][MLInliner] remove curly braces for a few sinle-line loops (details)
  3. [lldb] Fix NSArray0 data formatter and add test (details)
  4. [clangd] Fix crash-bug in preamble indexing when using modules. (details)
  5. [mlir][spirv] Add OpGroupBroadcast (details)
  6. [lldb] Skip TestSimulatorPlatform with out-of-tree debugserver (details)
  7. [MLIR][TableGen] Fix ambiguous build methods when inferring result types. (details)
  8. [ELF] Avoid creating a 2.1GB output file in arm-exidx-range.s (details)
  9. [WebAssembly] wasm64: fix memory.init operand types (details)
Commit d5c81be3ca2504e32a99b57711ae101e02d810fa by mtrofin
[NFC][MLInliner] Set up the logger outside the development mode advisor

This allows us to subsequently configure the logger for the case when we
use a model evaluator and want to log additional outputs.

Differential Revision: https://reviews.llvm.org/D85577
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
Commit 211117b66029f974c059366003c236713adfcfcb by mtrofin
[NFC][MLInliner] remove curly braces for a few sinle-line loops
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
Commit b8ff0daeac0752689ffca9345686845d1b7cfed8 by Jonas Devlieghere
[lldb] Fix NSArray0 data formatter and add test

Fixes PR47089
The file was modifiedlldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py
The file was modifiedlldb/test/API/functionalities/data-formatter/nsarraysynth/main.m
The file was modifiedlldb/source/Plugins/Language/ObjC/NSArray.cpp
Commit 4061d9e42cff621462931ac7df9666806c77a237 by adamcz
[clangd] Fix crash-bug in preamble indexing when using modules.

Summary:
When preamble contains #undef, indexing code finds the matching #define
and uses that during indexing. However, it would only look for local
definitions. If the macro was defined in a module, MacroInfo
would be nullptr and clangd would crash.

This change makes clangd ignore any #undef without a matching #define
inside the same TU.

The indexing of macros happens for preamble only, so then #undef must be
in the preamble, which is why we need two .h files in a test.

Note that clangd is currently not ready for module support, but this
brings us one step closer.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80525
The file was modifiedclang-tools-extra/clangd/unittests/TestFS.h
The file was modifiedclang-tools-extra/clangd/unittests/TestTU.h
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TestTU.cpp
The file was modifiedclang/lib/Index/IndexingAction.cpp
Commit a8fe40d9732721ed9a083cb917650f8f12b787b3 by thomasraoux
[mlir][spirv] Add OpGroupBroadcast

OpGroupBroadcast added to SPIRV dialect

Differential Revision: https://reviews.llvm.org/D85435
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/group-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVGroupOps.td
The file was modifiedmlir/test/Dialect/SPIRV/group-ops.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
Commit 3162c6aa4587d5161008d2b9729b5f2873b0fff9 by Jonas Devlieghere
[lldb] Skip TestSimulatorPlatform with out-of-tree debugserver
The file was modifiedlldb/test/API/macosx/simulator/TestSimulatorPlatform.py
Commit 13d05787d0d2dfdfd81939c2e5c41b6a913f5619 by jurahul
[MLIR][TableGen] Fix ambiguous build methods when inferring result types.

- Fix ODS framework to suppress build methods that infer result types and are
  ambiguous with collective variants. This applies to operations with a single variadic
  inputs whose result types can be inferred.
- Extended OpBuildGenTest to test these kinds of ops.

Differential Revision: https://reviews.llvm.org/D85060
The file was modifiedmlir/include/mlir/TableGen/Operator.h
The file was modifiedmlir/unittests/TableGen/OpBuildGen.cpp
The file was modifiedmlir/lib/TableGen/Operator.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-result.td
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
Commit e912fffd3a8c6c9f6e09d2eac4c1ee3a32800a22 by Alexander.Richardson
[ELF] Avoid creating a 2.1GB output file in arm-exidx-range.s

Currently both sections will be placed in the same PT_LOAD and therefore
lld generates a contiguous output file containing both sections.
By using AT(0xffff0000) the .vectors is placed a separate PT_LOAD and the
resulting file is now only a few kilobytes.

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D85661
The file was modifiedlld/test/ELF/arm-exidx-range.s
Commit 582fd474ddc0318ca23ade8e22de20df85c492cc by aardappel
[WebAssembly] wasm64: fix memory.init operand types

I had assumed they would all become in i64, but this is not necessary as long as data segments stay 32-bit, see:
https://github.com/WebAssembly/memory64/blob/master/proposals/memory64/Overview.md

Differential Revision: https://reviews.llvm.org/D85552
The file was modifiedlld/wasm/SymbolTable.h
The file was modifiedlld/wasm/InputChunks.cpp
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrBulkMemory.td
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/OutputSections.cpp
The file was modifiedlld/wasm/OutputSegment.h