LLVM/project 222113e — bolt/lib/Profile DataReader.cpp DataAggregator.cpp, bolt/test/X86 pre-aggregated-records.s
[𝘀𝗽𝗿] initial version Created using spr 1.3.4
[𝘀𝗽𝗿] initial version Created using spr 1.3.4
[𝘀𝗽𝗿] changes to main this commit is based on Created using spr 1.3.4 [skip ci]
| Delta | File | |
|---|---|---|
| +248 | -2 | bolt/unittests/Profile/DataAggregator.cpp |
| +8 | -3 | bolt/lib/Profile/DataReader.cpp |
| +4 | -2 | bolt/lib/Profile/DataAggregator.cpp |
| +1 | -0 | bolt/include/bolt/Profile/DataAggregator.h |
| +261 | -7 | 4 files |
clang: Avoid hardcoding some offload triple strings (#193811) This will make it easier to use the subarch field in the future.
| Delta | File | |
|---|---|---|
| +16 | -11 | clang/lib/Driver/Driver.cpp |
| +11 | -6 | clang/lib/Basic/OffloadArch.cpp |
| +4 | -1 | clang/lib/Basic/Targets/SPIR.cpp |
| +3 | -1 | clang/lib/Sema/SemaAMDGPU.cpp |
| +34 | -19 | 4 files |
[llvm-rc] Add support for MIPS machine (#193830)
| Delta | File | |
|---|---|---|
| +7 | -0 | llvm/test/tools/llvm-rc/windres-target.test |
| +3 | -0 | llvm/lib/Object/COFFObjectFile.cpp |
| +3 | -0 | llvm/lib/Object/WindowsResource.cpp |
| +3 | -0 | llvm/tools/llvm-rc/llvm-rc.cpp |
| +16 | -0 | 4 files |
[AArch64][PreISelIntrinsicLowering] Adjust tests to include -march=+sve (#193833) These tests are exercising expansion of scalable vectors. This is ill-defined without SVE as there aren't such legal vector types. This mostly doesn't change the output (since the ops being exercised are Expand in both configurations), but for fcanonicalize we're testing the wrong result as this _shouldn't_ be (and isn't) expanded when you have SVE.
[Clang] Fix sret AS for non-trivial-copy returns. (#186275) classifyReturnType used getAllocaAddrSpace() for sret, which is wrong on targets like AMDGPU where alloca lives in addrspace(5). For types with deleted copy/move constructors, there is no way to construct into a temp and copy out — the sret pointer must point directly to the caller's destination in the default address space. Add a target hook getSRetAddrSpace() so AMDGPU can return LangAS::Default for non-register-passable types. Fixes issue #185744
Revert "[Darwin] Remove linker version checks for objc_msgSend selector stubs (#193637)" (#193828) This reverts commit a6ab955369ae401cec75ced651c52c2348f117ad. The linker version checks cannot be removed yet. The commit broke builds that were using old linkers.
| Delta | File | |
|---|---|---|
| +43 | -14 | clang/test/Driver/darwin-objc-selector-stubs.m |
| +4 | -2 | clang/lib/Driver/ToolChains/Darwin.cpp |
| +47 | -16 | 2 files |
[NFC][offload][OpenMP] Fix kernel replay documentation (#193832)
| Delta | File | |
|---|---|---|
| +6 | -6 | openmp/docs/design/Runtimes.rst |
| +6 | -6 | 1 files |
[VPlan] Shallow-traverse vector-loop in dropPoisonGen (NFC) (#193635) A shallow-traversal of the vector loop region is sufficient to operate on Memory and Interleave recipes.
| Delta | File | |
|---|---|---|
| +2 | -1 | llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp |
| +2 | -1 | 1 files |
[flang] Add parser support for Fortran 2023 conditional arguments (F2023 R1526-R1528) (#191303) Implement parsing, unparsing, and parse tree nodes for the Fortran 2023 conditional argument syntax (F2023 R1526-R1528). This enables calls of the form: call sub((flag ? a : b)) call sub((x > 10 ? a : x > 5 ? b : c)) call sub((flag ? a : .NIL.)) - Add ConditionalArg and ConditionalArgTail parse tree nodes - Add Nil empty class for .NIL. representation - Add ConditionalArg as a new alternative in ActualArg - Add parser rules for conditional-arg, consequent, and chained branches - Add unparse support for round-trip printing - Add dump-parse-tree and FeatureList support - Add parser tests covering simple, multi-branch, .NIL., BOZ, NULL(), keyword arguments, and module procedure cases
[mlir][canonicalize] Add filter-dialects option (#193041)
Add a new `filter-dialects` list option to the canonicalize pass. When
provided, only canonicalization patterns from the listed dialects are
collected, and the named dialects are force-loaded via
getDependentDialects.
Loading flow: the Canonicalizer's getDependentDialects override calls
`registry.addDialectToPreload(name)` for each filter-dialect name, which
records the name in a new `dialectsToPreload` list on DialectRegistry.
The PassManager's pipeline-init then calls
`dependentDialects.preloadSelectDialects(ctx, emitError)`, which loads
each preload entry via `context->getOrLoadDialect(name)` — the real
allocator is resolved from the context's own registry (registered by
the tool) and the dialect is loaded before multi-threaded execution
begins. If a requested dialect has no registration in the context, a
diagnostic `"can't load dialect '<name>': missing registration?"` is
emitted.
[17 lines not shown]rebase Created using spr 1.3.7
[𝘀𝗽𝗿] changes introduced through rebase Created using spr 1.3.7 [skip ci]
[libcxx] Use debug() instead of note() for substitutions (#193667)
This reduces the noise in the lit output when running tests like this:
```
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libunwind-shared.cfg.in) Using %{cxx} substitution: 'bin/clang++'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libunwind-shared.cfg.in) Using %{flags} substitution: ' --target=x86_64-unknown-linux-gnu'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libunwind-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{include} -D_LIBUNWIND_HAVE_GETAUXVAL -funwind-tables -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -Wuser-defined-warnings'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libunwind-shared.cfg.in) Using %{link_flags} substitution: '-L %{lib} -Wl,-rpath,%{lib} -lunwind -Wl,--export-dynamic -ldl -latomic'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libunwind-shared.cfg.in) Using %{benchmark_flags} substitution: ''
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libunwind-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libunwind-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, can-create-symlinks, character-conversion-warnings, clang, clang-23, clang-23.0, clang-23.0.0, diagnose-if-support, enable-benchmarks=run, gcc-style-warnings, has-fblocks, has-fconstexpr-steps, has-filecheck, has-unix-headers, host-has-gdb-with-python, large_tests, libcpp-has-no-experimental-hardening-observe-semantic, libcpp-has-no-experimental-optional-iterator, libcpp-has-no-experimental-syncstream, libcpp-has-no-experimental-tzdb, libcpp-has-no-incomplete-pstl, linux, locale.cs_CZ.ISO8859-2, locale.en_US.UTF-8, locale.fr_CA.ISO8859-1, locale.fr_FR.UTF-8, locale.ja_JP.UTF-8, locale.ru_RU.UTF-8, locale.zh_CN.UTF-8, long_tests, objcopy-available, objective-c++, optimization=none, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, verify-support, win32-broken-utf8-wchar-ctype
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: 'bin/clang++'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -Wuser-defined-warnings'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I runtimes/runtimes-bins/libcxx/test/benchmarks/google-benchmark/include -L runtimes/runtimes-bins/libcxx/test/benchmarks/google-benchmark/lib -L runtimes/runtimes-bins/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-23, clang-23.0, clang-23.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-filecheck, has-unix-headers, host-has-gdb-with-python, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=extensive, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, locale.cs_CZ.ISO8859-2, locale.en_US.UTF-8, locale.fr_CA.ISO8859-1, locale.fr_FR.UTF-8, locale.ja_JP.UTF-8, locale.ru_RU.UTF-8, locale.zh_CN.UTF-8, objective-c++, optimization=none, std-at
[4 lines not shown]| Delta | File | |
|---|---|---|
| +1 | -1 | libcxx/utils/libcxx/test/config.py |
| +1 | -1 | 1 files |
rebase Created using spr 1.3.7
[𝘀𝗽𝗿] changes introduced through rebase Created using spr 1.3.7 [skip ci]
rebase Created using spr 1.3.7
[𝘀𝗽𝗿] changes introduced through rebase Created using spr 1.3.7 [skip ci]
[𝘀𝗽𝗿] initial version Created using spr 1.3.7
| Delta | File | |
|---|---|---|
| +2 | -2 | libcxx/utils/libcxx/test/config.py |
| +2 | -2 | 1 files |
[𝘀𝗽𝗿] changes to main this commit is based on Created using spr 1.3.7 [skip ci]
| Delta | File | |
|---|---|---|
| +1 | -1 | libcxx/utils/libcxx/test/config.py |
| +1 | -1 | 1 files |
split Created using spr 1.3.7
| Delta | File | |
|---|---|---|
| +37 | -0 | lld/test/wasm/tls-base-non-shared-memory.s |
| +11 | -4 | lld/wasm/Writer.cpp |
| +1 | -1 | libcxx/utils/libcxx/test/config.py |
| +1 | -1 | lld/test/wasm/pic-static.s |
| +50 | -6 | 4 files |
[PreISelIntrinsicLowering] Use index type for index in intrinsic expansion (#193807) We'd chosen intptr type for the binary in review, but on reflection the index type is probably a conceptually better fit. On riscv, these are going to be the same, so it's purely a conceptual issue. For the unary case, this is an actual change since we were using i64 unconditionally. This improves codegen for RV32 by avoiding the need for expensive legalization of i64 expressions for the IV.
| Delta | File | |
|---|---|---|
| +120 | -0 | llvm/test/Transforms/PreISelIntrinsicLowering/RISCV/expand-fp-math.ll |
| +6 | -6 | llvm/lib/Transforms/Utils/LowerVectorIntrinsics.cpp |
| +126 | -6 | 2 files |
Update newly appeared test
| Delta | File | |
|---|---|---|
| +6 | -6 | flang/test/Parser/OpenMP/parallel-loop-unparse.f90 |
| +6 | -6 | 1 files |
rebase Created using spr 1.3.7
[𝘀𝗽𝗿] changes introduced through rebase Created using spr 1.3.7 [skip ci]
rebase Created using spr 1.3.7
[𝘀𝗽𝗿] changes introduced through rebase Created using spr 1.3.7 [skip ci]
rebase Created using spr 1.3.7
[𝘀𝗽𝗿] changes introduced through rebase Created using spr 1.3.7 [skip ci]
rebase Created using spr 1.3.7