LLVM/project b384622lld/COFF SymbolTable.cpp, lld/test/COFF export-all-conflict.test

[LLD] [COFF] Explicitly prefer def files and export directives over /export-all-symbols (#190749)

If a def file is specified (or explicit export directives), they should
be preferred over exports from /export-all-symbols. There is no need to
warn about conflicts in these cases, just make a clear preference and
ignore the export with lower preference.
DeltaFile
+35-1lld/COFF/SymbolTable.cpp
+9-3lld/test/COFF/export-all-conflict.test
+44-42 files

LLVM/project bc057a3llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-int-rem.ll sve-fixed-length-int-div.ll

[LLVM][CodeGen][AArch64] Improve generated code for SVE VLS truncates. (#190778)

When SVE VLS is enabled we request custom lowering for all ISD::TRUNCATE
operations involving legal types. However, we only custom lower all of
them when NEON is not available and so there are variants that do not
require SVE and can be done via NEON but we are instead falling back to
default expansion, which is this case means scalarisation. This patch
updates custom lowering to mark the variants that have isel patterns
available.
DeltaFile
+26-158llvm/test/CodeGen/AArch64/sve-fixed-length-int-rem.ll
+24-156llvm/test/CodeGen/AArch64/sve-fixed-length-int-div.ll
+4-18llvm/test/CodeGen/AArch64/sve-fixed-length-fp-to-int.ll
+4-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+58-3324 files

LLVM/project 7ca5698lld/COFF InputFiles.cpp, lld/test/COFF weak-preference.test gnu-weak.test

[LLD] [COFF] Make weak aliases to implementations take priority over null pointers (#190491)

Normally, one uses weak aliases in one out of two ways.

Either one uses weak definitions to let a weak definition work as
fallback if a strong definition isn't available (which works with
link.exe as well), or as a sort of selectany COMDAT, to let multiple
weak definitions coexist, letting the linker pick any of them. (This
isn't supported by MS link.exe, but requires the LLD extension option
-lld-allow-duplicate-weak, normally implied by the mingw mode.)

Or, one uses weak references, to let a referencing translation unit
check at runtime, whether a symbol was found (at link time) or not,
optionally using the symbol.

In the latter case, the referencing object file provides a fallback
value for the weak symbol, as an absolute null symbol.

Previously, if we had multiple weak externals for the same symbol, we'd

    [16 lines not shown]
DeltaFile
+46-0lld/test/COFF/weak-preference.test
+11-3lld/COFF/InputFiles.cpp
+3-0lld/test/COFF/gnu-weak.test
+60-33 files

LLVM/project ac9c8d1lldb/source/Expression DWARFExpression.cpp

[lldb] Replace C-style casts with static_cast in DWARFExpression.cpp (NFC) (#190949)

Suggested in #190556.
DeltaFile
+17-14lldb/source/Expression/DWARFExpression.cpp
+17-141 files

LLVM/project ddb9edellvm/lib/Transforms/Instrumentation NumericalStabilitySanitizer.cpp, llvm/test/Instrumentation/NumericalStabilitySanitizer non_float_store.ll

[LLVM][NumericalStabilitySanitizer] Extend shadow value tracking to support vector ConstantInts. (#190794)
DeltaFile
+5-21llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
+14-0llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
+19-212 files

LLVM/project 73a2b90lldb/docs/use aarch64-linux.md, lldb/source/Plugins/Process/Linux NativeRegisterContextLinux_arm64.cpp

[lldb][AArch64][Linux] Handle SME only and kernels < 6.19 (#189982)

Part of #138717.

The feature we need to use to restore non-streaming mode after an
expression enters streaming mode was only added recently in kernel 6.19.

There is no other way to restore this state, so I have adjusted the code
to use the normal FP restore path for every state other than: on an SME
only system and in streaming mode and restoring non-streaming state

If that fails, we're on < 6.19 and all we can do is accept it and
restore the rest of the register state.

I've updated the tests to check kernel version and for < 6.19 remove any
expression tests that hit this specific state. I could have set up
expected state for them, but it's basically undefined behaviour, and I
think it would make the already complex tests even worse.


    [4 lines not shown]
DeltaFile
+31-15lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
+8-0lldb/test/API/linux/aarch64/sme_only_registers/TestSMEOnlyRegisters.py
+5-3llvm/docs/ReleaseNotes.md
+5-1lldb/docs/use/aarch64-linux.md
+49-194 files

LLVM/project 3f3d27bmlir/include/mlir/IR EnumAttr.td, mlir/test/lib/Dialect/Test TestEnumDefs.td TestOps.td

[MLIR] Add  I{8,16}Enum tablegen classes (#190825)

Add utility tablegen classes for creating 8 and 16 bit enums,
simplifying defining enums that fit into smaller types.
DeltaFile
+32-0mlir/test/mlir-tblgen/enums-gen.td
+14-0mlir/test/lib/Dialect/Test/TestEnumDefs.td
+14-0mlir/test/lib/Dialect/Test/TestOps.td
+8-0mlir/include/mlir/IR/EnumAttr.td
+7-0mlir/test/lib/Dialect/Test/TestAttrDefs.td
+75-05 files

LLVM/project ae825cbclang-tools-extra/clang-tidy/modernize UseStringViewCheck.cpp, clang-tools-extra/docs/clang-tidy/checks/modernize use-string-view.rst

[clang-tidy] Skip overloaded functions in modernize-use-string-view (#183921)
DeltaFile
+91-0clang-tools-extra/test/clang-tidy/checkers/modernize/use-string-view.cpp
+33-0clang-tools-extra/clang-tidy/modernize/UseStringViewCheck.cpp
+1-0clang-tools-extra/docs/clang-tidy/checks/modernize/use-string-view.rst
+125-03 files

LLVM/project 2033dc4llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 arm64-vcvt-fptoi.ll vecreduce-fadd.ll

[LLVM][CodeGen][AArch64] Replace tablegen based lowering of vector half/bfloat operations. (#190164)

We were essentially doing lowering via instruction selection. This patch
removes the tablegen patterns and modifies their operation actions so
they get lowered in the traditional manner.
DeltaFile
+70-70llvm/test/CodeGen/AArch64/arm64-vcvt-fptoi.ll
+33-97llvm/test/CodeGen/AArch64/vecreduce-fadd.ll
+54-76llvm/test/CodeGen/AArch64/bf16-v8-instructions.ll
+62-62llvm/test/CodeGen/AArch64/fmla.ll
+31-76llvm/test/CodeGen/AArch64/vecreduce-fmul.ll
+0-91llvm/lib/Target/AArch64/AArch64InstrInfo.td
+250-4724 files not shown
+302-53410 files

LLVM/project 6496898mlir/lib/Dialect/SCF/IR SCF.cpp

[mlir][SCF] Apply inlining patterns with higher benefit
DeltaFile
+32-14mlir/lib/Dialect/SCF/IR/SCF.cpp
+32-141 files

LLVM/project 84dc828libsycl/include/sycl/__impl event.hpp queue.hpp, libsycl/src/detail program_manager.cpp device_binary_structures.hpp

fix comments

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
DeltaFile
+3-3libsycl/src/detail/program_manager.cpp
+3-1libsycl/src/detail/device_binary_structures.hpp
+2-0libsycl/include/sycl/__impl/event.hpp
+0-1libsycl/include/sycl/__impl/queue.hpp
+8-54 files

LLVM/project 3140942lldb/include/lldb/Interpreter CommandReturnObject.h, lldb/source/Interpreter CommandReturnObject.cpp

[lldb] Remove "AppendNoteWithFormat(" (#190941)

This method is surprising because it does not automatically add a
newline like AppendNoteWithFormatv and other AppendNote... functions.

If you need to manage the newlines yourself, you should add an
equivalent of GetOutputStream for notes. See
efc0bcdf542475301805ed8478a5d5845f44dc53 for examples of that done for
messages.

AppendNoteWithFormat( is not used at all either (there are a few callers
of `AppendNoteWithFormatv(`).
DeltaFile
+0-12lldb/source/Interpreter/CommandReturnObject.cpp
+0-3lldb/include/lldb/Interpreter/CommandReturnObject.h
+0-152 files

LLVM/project b74ac14llvm/lib/Target/AMDGPU AMDGPURegisterBankInfo.cpp, llvm/test/CodeGen/AMDGPU asyncmark-pregfx12.ll asyncmark-gfx12plus.ll

[AMDGPU] Fix async operations in GlobalISel on gfx12-plus (#190776)

For GFX1250 async LDS intrinsics, map the LDS pointer operand to VGPR
instead of SGPR. These instructions use $vdst/$vdata (VGPROp_32) for the
LDS address, unlike the pre-GFX12 variants which use M0 (SGPR).

Assisted-By: Claude Opus 4.6
DeltaFile
+423-207llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+363-173llvm/test/CodeGen/AMDGPU/asyncmark-gfx12plus.ll
+13-4llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
+6-3llvm/test/CodeGen/AMDGPU/asyncmark-max-pregfx12.ll
+805-3874 files

LLVM/project 7e98b32llvm/include/llvm/IR Value.h, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[spr] initial version

Created using spr 1.3.8-wip
DeltaFile
+26-0llvm/test/CodeGen/X86/gep-chain-zero.ll
+14-7llvm/lib/IR/Value.cpp
+15-0llvm/include/llvm/IR/Value.h
+4-5llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+59-124 files

LLVM/project d457018lldb/packages/Python/lldbsuite/test/make/libcxx-simulators-common compressed_pair.h

[lldb][test] Remove libc++ dependency in common libcxx-simulators header (#190922)

After we made the test-suite mostly compile against system libc++ (in
https://github.com/llvm/llvm-project/pull/190034), the `invalid-vector`
test started failing on the macOS bots with:
```
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/c++/v1 -std=c++20 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/invalid-vector/main.cpp
[2026-04-07T00:09:44.764Z] /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/invalid-vector/main.cpp:6:1: error: too few template parameters in template redeclaration
[2026-04-07T00:09:44.764Z]     6 | template <typename T> struct vector {
[2026-04-07T00:09:44.764Z]       | ^~~~~~~~~~~~~~~~~~~~~
[2026-04-07T00:09:44.764Z] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/c++/v1/iosfwd:167:1: note: previous template declaration is here
[2026-04-07T00:09:44.764Z]   167 | template <class _Tp, class _Alloc = allocator<_Tp> >
[2026-04-07T00:09:44.764Z]       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

This patch fixes the error by removing the STL header includes from the
`compressed_pair.h` header. Presumably the `vector` forward declaration
somehow gets pulled in via one of those headers (via `iosfwd`).

The `libcxx-simulators` tests are supposed to be STL-independent, so
removing this dependency works towards that goal.
DeltaFile
+35-12lldb/packages/Python/lldbsuite/test/make/libcxx-simulators-common/compressed_pair.h
+35-121 files

LLVM/project f89b9a0llvm/lib/Target/WebAssembly WebAssemblyCFGStackify.cpp, llvm/test/CodeGen/WebAssembly cfg-stackify-eh-legacy.ll exception.ll

[WebAssembly] Fix: fixCallUnwindMismatches after fixCatchUnwindMismatches (#187484)

`fixCallUnwindMismatches()` adds an extra try block around call sites
with incorrect unwind targets. `fixCatchUnwindMismatches()` handles
catch blocks that have incorrect next unwind destinations. Previously we
ran `fixCallUnwindMismatches()` first and then ran
`fixCatchUnwindMismatches()`. The problem is that
`fixCatchUnwindMismatches()` wraps entire try blocks which can change
the unwind destination of the calls inside. If the calls had an
incorrect unwind target to begin with, they will be wrapped already and
so the outer wrapping won't alter their unwind target. However, if they
start out with a correct unwind target, they won't get wrapped and then
that can be messed up by `fixCatchUnwindMismatches()`.

The fix is to run `fixCatchUnwindMismatches()` first.
`fixCallUnwindMismatches()` never messes up the result of
`fixCatchUnwindMismatches()` so this is the correct order.

Resolves #187302
DeltaFile
+100-7llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.ll
+31-22llvm/test/CodeGen/WebAssembly/exception.ll
+14-4llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
+2-4llvm/test/CodeGen/WebAssembly/exception-legacy.ll
+1-1llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
+148-385 files

LLVM/project 470ba56libcxx/include/__memory shared_ptr.h, libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create make_shared.array.unbounded.pass.cpp allocate_shared.array.unbounded.pass.cpp

[libc++] Properly calculate rounded-up size for `{allocate,make}_shared` (#190315)

Previously, the allocated size might be a bit too small for certain
cases. This patch makes the size calculated with potentially larger
alignment of the whole control block.
DeltaFile
+11-0libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.array.unbounded.pass.cpp
+11-0libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared.array.unbounded.pass.cpp
+1-1libcxx/include/__memory/shared_ptr.h
+23-13 files

LLVM/project f9663f7clang/include/clang/Basic HLSLIntrinsics.td, clang/lib/Headers/hlsl hlsl_alias_intrinsics.h

Merge branch 'main' into users/ssahasra/async-gisel-fix
DeltaFile
+1-3,869clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+1,157-452llvm/test/Transforms/LoopVectorize/WebAssembly/memory-interleave.ll
+1,516-4clang/include/clang/Basic/HLSLIntrinsics.td
+344-594llvm/test/CodeGen/RISCV/rvv/vfdiv-vp.ll
+733-127llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll
+68-790llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
+3,819-5,8361,073 files not shown
+39,202-21,6371,079 files

LLVM/project efc0bcdlldb/include/lldb/Interpreter CommandReturnObject.h, lldb/source/Commands CommandObjectMemory.cpp CommandObjectTarget.cpp

[lldb] Use GetOutputStream instead of repeated AppendMessageWithFormat (#189674)

AppendMessageWithFormat is odd because it's the only AppendMessage...
method that does not add a newline for you.

This PR changes places that use it to output raw text, or build
up a large message. They now use GetOutputStream() instead,
which makes it a bit clearer that we're building one big message,
and where newlines end up. 

This removes the last callers of AppendMessageWithFormat, so I am
removing it too.
DeltaFile
+0-12lldb/source/Interpreter/CommandReturnObject.cpp
+5-4lldb/source/Commands/CommandObjectMemory.cpp
+5-4lldb/source/Commands/CommandObjectTarget.cpp
+5-4lldb/source/Commands/CommandObjectThread.cpp
+4-3lldb/source/Commands/CommandObjectPlatform.cpp
+0-3lldb/include/lldb/Interpreter/CommandReturnObject.h
+19-301 files not shown
+20-317 files

LLVM/project 24799f1lldb/packages/Python/lldbsuite/test lldbutil.py

Reapply "[lldb] Increase timeout on lldbutil.wait_for_file_on_target" (#190833)

Reapplication notes:
After reviewing the test failures that caused the original reverts, I'm
not convinced that this change is related. None of the test failures
failed while timing out waiting for a file.

Original Summary:
I've been tracking sporadic timeouts waiting for a file to appear on
macOS buildbots (and occasionally local development environments). I
believe I've tracked it down to a regression in process launch
performance in macOS.

What I noticed is that running multiple test suites simultaneously
almost always triggered these failures and that the tests were always
waiting on files created by the inferior. Increasing this timeout no
longer triggers the failures on my loaded machine locally.

This timeout moves from about 16 seconds of total wait time to about 127

    [4 lines not shown]
DeltaFile
+7-12lldb/packages/Python/lldbsuite/test/lldbutil.py
+7-121 files

LLVM/project 30a99celldb/source/Target Process.cpp

[lldb][NFC] Add helper to compute breakpoint's constituent load address (#190762)

This allows the callsite to be simplified.
This also exposes a bug where the variable `ShouldShowError` is guarding
more than the error printing.
DeltaFile
+65-64lldb/source/Target/Process.cpp
+65-641 files

LLVM/project e54d7ffclang/lib/CodeGen/Targets SPIR.cpp, clang/test/CodeGenHLSL/semantics semantic.explicit-mix-builtin.hlsl

[SPIR-V] Change DL for logical SPIR-V (#190807)

This PR originates from bogner@ draft PR. It modifies the triple for
logical SPIR-V to use the new vector sizing feature.
This means updating the tests, and fix one codegen issue:
 on the old datalayout, we knew a float3 allocation size was the
 same as a float4 allocation. This is now invalid, thus
 a store `<4 x float>` into a `<3 x float>` allocation is UB.
DeltaFile
+29-0llvm/test/CodeGen/SPIRV/vk-pushconstant-layout-natural.ll
+15-0clang/lib/CodeGen/Targets/SPIR.cpp
+3-9llvm/test/CodeGen/SPIRV/hlsl-resources/Packed.ll
+5-5clang/test/CodeGenHLSL/semantics/semantic.explicit-mix-builtin.hlsl
+6-4llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+5-5llvm/test/CodeGen/SPIRV/pointers/load-vector-from-array-of-vectors.ll
+63-2321 files not shown
+103-6927 files

LLVM/project d46af3allvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU asyncmark-gfx12plus.ll

[AMDGPU] Fix duplicate s_wait_asynccnt on gfx12-plus (#190906)

S_WAIT_ASYNCCNT was missing from counterTypeForInstr(), so isWaitInstr() did not recognize it as a wait instruction. On the fixpoint algorithm's second pass over a loop body, the already-inserted S_WAIT_ASYNCCNT was treated as a normal instruction, causing WAIT_ASYNCMARK to be re-processed and a duplicate S_WAIT_ASYNCCNT to be emitted.

Assisted-By: Claude Opus 4.6
DeltaFile
+2-0llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+0-1llvm/test/CodeGen/AMDGPU/asyncmark-gfx12plus.ll
+2-12 files

LLVM/project 8e97378llvm/test/CodeGen/AMDGPU asyncmark-pregfx12.ll

[NFC][AMDGPU] don't test asyncmark for non-async variants on pre-gfx12 (#190774)

The test for asyncmark on pref-gfx12 targets, checks the effect of async
marks on both async and non-async instructions. This is achieved by a
sed invocation in the RUN line to remove the .async from intrinsic name.

Such a test serves no purpose other than a minor flex. The two sets of
CHECK lines using the WITH and WITHOUT prefix are not easy to compare by
a simple eyeballing. Eliminating this hack makes it easier to add GISEL
variants later. With and without GISEL, the combinations will increase
to four instead of the current two.

Assisted-By: Claude Opus 4.6
DeltaFile
+13-216llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+13-2161 files

LLVM/project 5a7aab6llvm/test/Transforms/LoopVectorize if-reduction.ll global_alias.ll, llvm/test/Transforms/LoopVectorize/PowerPC massv-calls.ll vectorize-only-for-real.ll

[LV][NFC] Remove more unused function attributes from tests (#190786)

Following on from PR #188185 I've removed some more function attributes
from tests that weren't adding any value. As part of this patch I've
also removed some unnecessary `Function Attrs:` comments that live above
functions.

I suspect that there are other attributes that can be removed, for
example see ARM/arm-ieee-vectorize.ll. However, I haven't had chance to
look into these yet as they are more FP and/or target specific and
perhaps require more thought.
DeltaFile
+62-64llvm/test/Transforms/LoopVectorize/PowerPC/massv-calls.ll
+42-42llvm/test/Transforms/LoopVectorize/if-reduction.ll
+7-12llvm/test/Transforms/LoopVectorize/PowerPC/vectorize-only-for-real.ll
+8-9llvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll
+7-7llvm/test/Transforms/LoopVectorize/global_alias.ll
+4-9llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
+130-14360 files not shown
+192-29766 files

LLVM/project bcc83efllvm/utils/git github-automation.py

github-automation.py: Use raw strings for regex (#184326)

Avoids a `SyntaxWarning: invalid escape sequence`.

As noticed in:

https://github.com/llvm/llvm-project/actions/runs/22620420192/job/65543770329

https://github.com/llvm/llvm-project/actions/runs/22607027706/job/65501262987
DeltaFile
+3-3llvm/utils/git/github-automation.py
+3-31 files

LLVM/project 7055163mlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[mlir][OpenMP] Don't allow loop bounds/step from inside the task

The omp.taskloop.context region represents what goes inside the outlined
task function. The loop bounds must be passed to the OpenMP runtime call
for taskloop and so this cannot be supported in general.

In a follow up patch I will re-allow pure operations because sinking
constants inside of the tasklooop context will be useful for something
else I am prototyping.

Assisted-by: codex
DeltaFile
+22-0mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+17-0mlir/test/Dialect/OpenMP/invalid.mlir
+3-0mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+42-03 files

LLVM/project ca437cbmlir/lib/Dialect/Vector/IR VectorOps.cpp, mlir/test/Dialect/Vector canonicalize.mlir vector-contract-to-matrix-intrinsics-transforms.mlir

[mlir][vector] Fold poison operands into vector.shuffle mask
DeltaFile
+82-27mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+10-0mlir/test/Dialect/Vector/canonicalize.mlir
+2-2mlir/test/Dialect/Vector/vector-contract-to-matrix-intrinsics-transforms.mlir
+2-2mlir/test/Dialect/XeGPU/xegpu-vector-linearize.mlir
+96-314 files

LLVM/project 1d0b3f2libc/docs CMakeLists.txt, libc/docs/headers index.rst

[libc][docs] Add sys/socket.h implementation status (#190751)
DeltaFile
+142-0libc/utils/docgen/sys/socket.yaml
+1-0libc/docs/CMakeLists.txt
+1-0libc/docs/headers/index.rst
+144-03 files

LLVM/project 6ac4e6fllvm/tools/llvm-exegesis/lib Assembler.cpp

[llvm-exegesis] Pass data layout explicitly to LLJIT (#190789)

This is a defesive change that aims to make sure the target data layout
of both the object compilation and LLJIT is the same, by passing it
explicitly rather than relying similar auto-detection implicitly.

The patch doesnt add a new test but relies on existing ones, as a test
case of different layouts would require to exhibit a misuse of the tool,
doing cross-compilation to change the layout of the compilation. The
tool is not designed to work this way.
DeltaFile
+2-1llvm/tools/llvm-exegesis/lib/Assembler.cpp
+2-11 files