[all-commits] [llvm/llvm-project] 208465: Revert "[gn build] Port 2eb8c47b88e8"
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Fri Oct 10 19:41:18 PDT 2025
Branch: refs/heads/users/mtrofin/10-10-_profcheck_update_xfail_list
Home: https://github.com/llvm/llvm-project
Commit: 2084655d1e06a87efa45800f65ec6773ec63dabb
https://github.com/llvm/llvm-project/commit/2084655d1e06a87efa45800f65ec6773ec63dabb
Author: Nico Weber <thakis at chromium.org>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
R llvm/utils/gn/secondary/clang/lib/Analysis/LifetimeSafety/BUILD.gn
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Log Message:
-----------
Revert "[gn build] Port 2eb8c47b88e8"
This reverts commit a833d902ae041e597cf7252d07198df470c0b736.
2eb8c47b88e8 was reverted in 24a5d8a9ca
Commit: 9f0f6e8dda5a3f87458acbb4daf09c2bfbac25f2
https://github.com/llvm/llvm-project/commit/9f0f6e8dda5a3f87458acbb4daf09c2bfbac25f2
Author: Tom Stellard <tstellar at redhat.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
R .github/workflows/release-binaries-save-stage/action.yml
R .github/workflows/release-binaries-setup-stage/action.yml
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows/release-binaries: Run tests on the same runner as the build (#162421)
Also, ignore the test results since they almost always fail. This allows
us to simplify the build process and skip uploading and downloading the
build and source directories which are huge.
Commit: 3af43e303ce74a3df6e3349a50ecdb501f559b26
https://github.com/llvm/llvm-project/commit/3af43e303ce74a3df6e3349a50ecdb501f559b26
Author: Erick Velez <erickvelez7 at gmail.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M clang-tools-extra/clang-doc/JSONGenerator.cpp
M clang-tools-extra/clang-doc/Representation.h
Log Message:
-----------
[clang-doc] simplify filename selection for namespaces (#162885)
determineFileName was confusing regarding namespaces. The comment and
conditional were both misleading. Now, we just check against a static
global namespace USR to make a file use "index", or just use the name.
Commit: 190886ddc99b81f7efebec3ab128809be19c0cd7
https://github.com/llvm/llvm-project/commit/190886ddc99b81f7efebec3ab128809be19c0cd7
Author: Jason Molenda <jmolenda at apple.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py
Log Message:
-----------
[lldb][NFC] enable unwind logging in TestCortexMExceptionUnwind
Still seeing a failure on a CI bot with this test that
I cannot reproduce locally, but luckily this one CI bot is giving
me trace output from the tests. Turn on the unwind log when tracing
is enabled, migth get a better hint what's up with this test fail.
Commit: d78c93077b940d650a1b2eae75bdbf2105de7380
https://github.com/llvm/llvm-project/commit/d78c93077b940d650a1b2eae75bdbf2105de7380
Author: Mikhail Gudim <mgudim at gmail.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLPVectorizer] Move size checks (NFC). (#161867)
Add the `analyzeRtStrideCandidate` function. In the future commits we're
going to add the capability to widen strided loads to it. So, in this
commit, we move the size / type checks into it, since it can possibly
change size / type of load.
Commit: fabd1c418a6b20266cf191b5d8c92476567c77af
https://github.com/llvm/llvm-project/commit/fabd1c418a6b20266cf191b5d8c92476567c77af
Author: Ian Li <ian.li at intel.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
A mlir/include/mlir/Conversion/MathToXeVM/MathToXeVM.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/MathToXeVM/CMakeLists.txt
A mlir/lib/Conversion/MathToXeVM/MathToXeVM.cpp
A mlir/test/Conversion/MathToXeVM/math-to-xevm.mlir
A mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir
Log Message:
-----------
[MLIR][Math][XeVM] Add MathToXeVM (`math-to-xevm`) pass (#159878)
This PR introduces a `MathToXeVM` pass, which implements support for the
`afn` fastmath flag for SPIRV/XeVM targets - It takes supported `Math`
Ops with the `afn` flag, and converts them to function calls to OpenCL
`native_` intrinsics.
These intrinsic functions are supported by the SPIRV backend, and are
automatically converted to `OpExtInst` calls to `native_` ops from the
OpenCL SPIRV ext. inst. set when outputting to SPIRV/XeVM.
Note:
- This pass also supports converting `arith.divf` to native equivalents.
There is an option provided in the pass to turn this behavior off.
- This pass preserves fastmath flags, but these flags are currently
ignored by the SPIRV backend. Thus, in order to generate SPIRV that
truly preserves fastmath flags, support needs to be added to the SPIRV
backend.
Commit: 004270d247962167ba934efc4b21e3b134c0c0c7
https://github.com/llvm/llvm-project/commit/004270d247962167ba934efc4b21e3b134c0c0c7
Author: Mikhail Gudim <mgudim at gmail.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/RISCV/x264-satd-8x4.ll
Log Message:
-----------
[RISCV][SLP][NFC]Add a test for satd-8x4 from x264 benchmark. (#162542)
Precommit a test.
Commit: 8d9aecce064776a9a890f3c898165f99e8eaa13e
https://github.com/llvm/llvm-project/commit/8d9aecce064776a9a890f3c898165f99e8eaa13e
Author: Erich Keane <ekeane at nvidia.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-default-ops.cpp
M clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-float.cpp
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.cpp
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-float.c
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-float.cpp
M clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-default-ops.cpp
M clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-float.cpp
M clang/test/SemaOpenACC/combined-construct-reduction-clause.cpp
M clang/test/SemaOpenACC/compute-construct-clause-ast.cpp
M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
M clang/test/SemaOpenACC/compute-construct-reduction-clause.cpp
M clang/test/SemaOpenACC/loop-construct-reduction-ast.cpp
Log Message:
-----------
Revert "[OpenACC] Sema changes for +*&|^ reduction combiner recipes (… (#162920)
…#162740)"
This reverts commit 6010df0402e2f5cca0ded446a70492dedc43ab7e.
This apparently fails some sanitizer test as reported here:
https://github.com/llvm/llvm-project/pull/162740
It isn't really clear where this happens, but reverting as it is a
friday, and I have no idea if I'll be able to repro this anytime soon,
let alone fix it.
Commit: 44c5dabea33f77ff18a4d4a9771148619604c7c8
https://github.com/llvm/llvm-project/commit/44c5dabea33f77ff18a4d4a9771148619604c7c8
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
A clang/test/InstallAPI/project-header-only-args-visibility.test
Log Message:
-----------
[clang-installapi] Add test for -Xproject -fvisibility=* (#162908)
Commit: a4a0a4b9b18ad68b482e6a764cf3df7cf771edca
https://github.com/llvm/llvm-project/commit/a4a0a4b9b18ad68b482e6a764cf3df7cf771edca
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M llvm/lib/Transforms/Utils/InstructionNamer.cpp
Log Message:
-----------
[NFC][LLVM] Code cleanup in InstructionNamer.cpp (#162689)
Make file local function static and use explicit type for Arg.
Commit: 7e7c923b5890e62f4b5920c2f8a2e51f586a186c
https://github.com/llvm/llvm-project/commit/7e7c923b5890e62f4b5920c2f8a2e51f586a186c
Author: Arjun Ramesh <90422058+arjunr2 at users.noreply.github.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/OSTargets.h
M clang/lib/Basic/Targets/WebAssembly.h
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/wasm-toolchain.c
M clang/test/Driver/wasm-toolchain.cpp
M libunwind/src/UnwindRegistersRestore.S
M libunwind/src/UnwindRegistersSave.S
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/TargetParser/Triple.cpp
Log Message:
-----------
[WebAssembly] Support for new target `wasm32-linux-muslwali` (#162581)
Add toolchain support for the
[WALI](https://doc.rust-lang.org/rustc/platform-support/wasm32-wali-linux.html)
target as per its corresponding
[RFC](https://discourse.llvm.org/t/rfc-new-wasm-linux-target-support/88203)
Commit: b92483c42cf6732615243bd6eec911db9caf7275
https://github.com/llvm/llvm-project/commit/b92483c42cf6732615243bd6eec911db9caf7275
Author: Md Abdullah Shahneous Bari <98356296+mshahneo at users.noreply.github.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
R mlir/include/mlir/Conversion/MathToXeVM/MathToXeVM.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
R mlir/lib/Conversion/MathToXeVM/CMakeLists.txt
R mlir/lib/Conversion/MathToXeVM/MathToXeVM.cpp
R mlir/test/Conversion/MathToXeVM/math-to-xevm.mlir
R mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir
Log Message:
-----------
Revert "[MLIR][Math][XeVM] Add MathToXeVM (`math-to-xevm`) pass" (#162923)
Reverts llvm/llvm-project#159878
Commit: 1a8057fd473c436e86ac5ff2123d611f97dfe622
https://github.com/llvm/llvm-project/commit/1a8057fd473c436e86ac5ff2123d611f97dfe622
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/cudadevice.f90
M flang/test/Lower/CUDA/cuda-device-proc.cuf
Log Message:
-----------
[flang][cuda] Add interface and lower barrier_init (#162929)
Add interface for `barrier_init` and lower it to the NVVM Op.
https://github.com/clementval/llvm-project/pull/new/cuf_barrier_init
Commit: 56e3e30cebfd40853e57639e9f2e5672e5f4124f
https://github.com/llvm/llvm-project/commit/56e3e30cebfd40853e57639e9f2e5672e5f4124f
Author: Reid Kleckner <rnk at google.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/DebugInfo/KeyInstructions/flag.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
[clang] Remove -g[no-]-* bool flags from g_Group (#162750)
There are four uses of BoolGOption, and all of them are essentially debug
info feature flags, which I believe should not the enablement or
disablement of all debug info emission. `OPT_g_group` is used to control
the debug info level here:
https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/Clang.cpp#L4387
This doesn't cause any test failures, and seems like the right behavior
for all four flags:
* -g[no-]flag-base
* -g[no-]inline-line-tables
* -g[no-]key-instructions
* -g[no-]structor-decl-linkage-names
None of these, even in the positive form, should enable debug info
emission.
Fixes #162747
Commit: 0aef9ebc14f5bc6d47d77e0905f0df0bfd846d1a
https://github.com/llvm/llvm-project/commit/0aef9ebc14f5bc6d47d77e0905f0df0bfd846d1a
Author: Mingming Liu <mingmingl at google.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
A llvm/test/CodeGen/X86/global-variable-partition-with-dap.ll
Log Message:
-----------
[NFC] Pre-commit test case for https://github.com/llvm/llvm-project/pull/162348 (#162938)
Commit: 27e2d5c46fab4a976a7700e0ced0cddd2cc58a13
https://github.com/llvm/llvm-project/commit/27e2d5c46fab4a976a7700e0ced0cddd2cc58a13
Author: Lang Hames <lhames at gmail.com>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M orc-rt/include/orc-rt/SimpleNativeMemoryMap.h
M orc-rt/lib/executor/SimpleNativeMemoryMap.cpp
M orc-rt/unittests/SimpleNativeMemoryMapTest.cpp
Log Message:
-----------
[orc-rt] Align SimpleNativeMemoryMap Segment with LLVM type. (#162823)
This commit aims to align SimpleNativeMemoryMap::FinalizeRequest::Segment with
llvm::orc::tpctypes::SegFinalizeRequest. This will simplify construction of a
new LLVM JITLinkMemoryManager that's capable of using SimpleNativeMemoryMap as
a backend.
Commit: d3233e806e1a80020b09c161def31ce2c75804d5
https://github.com/llvm/llvm-project/commit/d3233e806e1a80020b09c161def31ce2c75804d5
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/poison-within-divisions.ll
Log Message:
-----------
[SLP]Do not allow undefs being combined with divs
Undefs/poisons with divs in vector operations lead to undefined
behavior, disabling this combination
Fixes #162663
Commit: 8faeed042af2c1278cc71f0a5ef1a4d45f905eb8
https://github.com/llvm/llvm-project/commit/8faeed042af2c1278cc71f0a5ef1a4d45f905eb8
Author: Chengjun <chengjunp at Nvidia.com>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/test/Transforms/SROA/vector-promotion-cannot-tree-structure-merge.ll
Log Message:
-----------
[SROA] Add Stored Value Size Check for Tree-Structured Merge (#162921)
The change fixes a bug in the SROA where tree-structured merge
optimization was incorrectly applied when the size of the stored value
was not a multiple of the new allocated element type size. The original
change is https://github.com/llvm/llvm-project/pull/152793. A simple
repro would be
```
define <1 x i32> @foo(<1 x i16> %a, <1 x i16> %b) {
entry:
%alloca = alloca [1 x i32]
%ptr0 = getelementptr inbounds [2 x i16], ptr %alloca, i32 0, i32 0
store <1 x i16> %a, ptr %ptr0
%ptr1 = getelementptr inbounds [2 x i16], ptr %alloca, i32 0, i32 1
store <1 x i16> %b, ptr %ptr1
%result = load <1 x i32>, ptr %alloca
ret <1 x i32> %result
}
```
Currently, this will lead to a compile time crash.
In this change, we will skip the tree-structured merge for this case and
fall back to normal SROA.
Commit: 720007e4b782c2446c5f10dd1e7733f4b6b323f1
https://github.com/llvm/llvm-project/commit/720007e4b782c2446c5f10dd1e7733f4b6b323f1
Author: Kaitlin Peng <kaitlinpeng at microsoft.com>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M llvm/lib/Target/SPIRV/CMakeLists.txt
M llvm/lib/Target/SPIRV/SPIRVCombine.td
A llvm/lib/Target/SPIRV/SPIRVCombinerHelper.cpp
A llvm/lib/Target/SPIRV/SPIRVCombinerHelper.h
M llvm/lib/Target/SPIRV/SPIRVPreLegalizerCombiner.cpp
Log Message:
-----------
[NFC] [SPIRV] Add SPIRVCombinerHelper and refactor pre legalizer combiner to use it (#162735)
Lots of the code/structure was based off `AMDGPUCombinerHelper`,
`AMDGPUPreLegalizerCombiner`, etc.
Tasks completed:
- Create new `SPIRVCombinerHelper` inheriting from `CombinerHelper`
- Move combiner logic in `SPIRVPreLegalizerCombiner` to helper methods
in `SPIRVCombinerHelper`
- Update `SPIRVPreLegalizerCombiner` to use the new helper class
- Simplify `applySPIRVDistance` code
Commit: cb4fdc00102f351606c57afc497d939103cac026
https://github.com/llvm/llvm-project/commit/cb4fdc00102f351606c57afc497d939103cac026
Author: Scott Pillow <scott.pillow at intel.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M llvm/include/llvm/Support/raw_ostream.h
M llvm/unittests/Support/raw_ostream_test.cpp
Log Message:
-----------
[Support] Fix thread safety issue in raw_null_ostream (#162787)
The global raw_null_ostream singleton returned by llvm::nulls() is
marked as InternalBuffer rather than Unbuffered, causing it to
allocate a buffer when first written to. In multithreaded environments,
multiple threads can simultaneously trigger buffer allocation via
SetBuffered(), leading to race conditions on the buffer pointer
fields (OutBufCur, OutBufEnd).
For example:
raw_ostream::write(const char *Ptr, size_t Size)
->
raw_ostream::SetBuffered()
->
raw_ostream::SetBufferSize(size_t Size)
->
raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size,
BufferKind Mode)
This can manifest as a heap corruption when multiple threads write to
the
null stream concurrently, as the buffer pointers will become corrupted
during the race.
The fix is to explicitly pass Unbuffered=true to the raw_pwrite_stream
constructor, ensuring the null stream never allocates a buffer and
all writes go directly to the no-op write_impl().
For example, this can fix multithreaded applications using MCELFStreamer
where getCommentOS() returns the shared nulls() singleton.
Commit: 19b9b54158b9d4653e26f02981e43b6f45048e55
https://github.com/llvm/llvm-project/commit/19b9b54158b9d4653e26f02981e43b6f45048e55
Author: Twice <twice at apache.org>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M mlir/docs/Bindings/Python.md
Log Message:
-----------
[MLIR][Docs] Add docs for Python-defined pass in Python bindings (#162833)
Python-defined passes have been merged into the main branch for some
time now. I believe adding a corresponding section in the documentation
will help more users learn about this feature and understand how to use
it.
This PR adds such a section to the docs of Python bindings, summarizing
the feature and providing an example.
Commit: 26eca2439c664c648c4e293c68c18c2d6e7d7855
https://github.com/llvm/llvm-project/commit/26eca2439c664c648c4e293c68c18c2d6e7d7855
Author: Mingjie Xu <xumingjie.enna1 at bytedance.com>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/tools/bugpoint/OptimizerDriver.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-extract/llvm-extract.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/tools/opt/optdriver.cpp
Log Message:
-----------
Move the preserve-{bc,ll}-uselistorder options out of individual tools, make them global defaults for AsmWriter and BitcodeWriter (#160079)
This patch moves the `preserve-bc-uselistorder` and
`preserve-ll-uselistorder` options out of individual tools(opt, llvm-as,
llvm-dis, llvm-link, llvm-extract) and make them global defaults for
AsmWriter and BitcodeWriter.
These options are useful when we use `-print-*` options to dump LLVM IR.
Commit: d95f8ffee401f79e1f37b274eda6c750b5f890a9
https://github.com/llvm/llvm-project/commit/d95f8ffee401f79e1f37b274eda6c750b5f890a9
Author: AZero13 <gfunni234 at gmail.com>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/Mips/MipsISelLowering.cpp
M llvm/lib/Target/Mips/MipsISelLowering.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
Log Message:
-----------
[ARM][TargetLowering] Combine Level should not be a factor in shouldFoldConstantShiftPairToMask (NFC) (#156949)
This should be based on the type and instructions, and only thumb uses
combine level anyway.
Commit: 4cc0bae159e56dc02145f9154005dc1eb9ed1fd7
https://github.com/llvm/llvm-project/commit/4cc0bae159e56dc02145f9154005dc1eb9ed1fd7
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M clang/lib/AST/DeclTemplate.cpp
M clang/test/SemaTemplate/concepts.cpp
M clang/test/SemaTemplate/partial-spec-instantiate.cpp
Log Message:
-----------
[clang] fix getReplacedTemplateParameter for partial specialziations (#162955)
The template argument returned should be relative to the partial
specialization, which would correspond to the partial template parameter
list.
Unfortunately we don't save this anywhere in the AST, and would
otherwise need to deduce them again.
Simply avoid providing this argument for now, until we make it
available.
This fixes regressions which were never released, so there are no
release notes.
Fixes #162770
Fixes #162855
Commit: 9e63b7ae4c6f6a06882ade921795c42108355c71
https://github.com/llvm/llvm-project/commit/9e63b7ae4c6f6a06882ade921795c42108355c71
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/fold-select-fmul-if-zero.ll
M llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/predicated-reduction.ll
Log Message:
-----------
[InstCombine] Fix flag propagation in `foldSelectIntoOp` (#162003)
Consider the following transform:
```
C = binop float A, nnan OOp
D = select ninf, i1 cond, float C, float A
->
E = select ninf, i1 cond, float OOp, float Identity
F = binop float A, E
```
We cannot propagate ninf from the original select, because OOp may be
inf, and the flag only guarantees that FalseVal (op OOp) is never
infinity.
Examples: -inf + +inf = NaN, -inf - -inf = NaN, 0 * inf = NaN
Specifically, if the original select has both ninf and nnan, we can
safely propagate the flag.
Alive2:
+ fadd: https://alive2.llvm.org/ce/z/TWfktv
+ fsub: https://alive2.llvm.org/ce/z/RAsjJb
+ fmul: https://alive2.llvm.org/ce/z/8eg4ND
Closes https://github.com/llvm/llvm-project/issues/161634.
Commit: c18de24d9d67bc469f41d31362068257a9facedc
https://github.com/llvm/llvm-project/commit/c18de24d9d67bc469f41d31362068257a9facedc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M libc/src/__support/GPU/allocator.cpp
Log Message:
-----------
[libc] Add a config option to disable slab reclaiming (#151599)
Summary:
Without slab reclaiming this interface is much simpler and it can speed
up cases with a lot of churn. Basically, wastes memory for performance.
Commit: 11571a005a38c91b0519772d9639e91a382cc1db
https://github.com/llvm/llvm-project/commit/11571a005a38c91b0519772d9639e91a382cc1db
Author: beetrees <b at beetr.ee>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/fabs.bf16.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs.bf16.ll
M llvm/test/CodeGen/AMDGPU/fneg.bf16.ll
M llvm/test/CodeGen/ARM/fp16-promote.ll
A llvm/test/CodeGen/Generic/bfloat-op.ll
A llvm/test/CodeGen/Generic/bfloat.ll
A llvm/test/CodeGen/Generic/half-op.ll
M llvm/test/CodeGen/RISCV/half-arith.ll
M llvm/test/CodeGen/Thumb2/mve-vabd.ll
Log Message:
-----------
Fix legalizing `FNEG` and `FABS` with `TypeSoftPromoteHalf` (#156343)
Based on top of #157211.
`FNEG` and `FABS` must preserve signalling NaNs, meaning they should not
convert to f32 to perform the operation. Instead legalize to `XOR` and
`AND`.
Fixes almost all of #104915
Commit: 8a598f1044040ac07d098bec66100f9928c5cbdd
https://github.com/llvm/llvm-project/commit/8a598f1044040ac07d098bec66100f9928c5cbdd
Author: Lei Wang <wlei at fb.com>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/RegisterPressure.cpp
Log Message:
-----------
[NFC] Simplify checks using isDebugOrPseudoInstr API (#145127)
Merge the two checks using the existing API, NFC.
Commit: 81b82c64a3e6a84d8a394de93bd8e5b83c80a5e1
https://github.com/llvm/llvm-project/commit/81b82c64a3e6a84d8a394de93bd8e5b83c80a5e1
Author: Mircea Trofin <mtrofin at google.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
R .github/workflows/release-binaries-save-stage/action.yml
R .github/workflows/release-binaries-setup-stage/action.yml
M .github/workflows/release-binaries.yml
M clang-tools-extra/clang-doc/JSONGenerator.cpp
M clang-tools-extra/clang-doc/Representation.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/OSTargets.h
M clang/lib/Basic/Targets/WebAssembly.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-default-ops.cpp
M clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-float.cpp
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.cpp
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-float.c
M clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-float.cpp
M clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-default-ops.cpp
M clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-float.cpp
M clang/test/DebugInfo/KeyInstructions/flag.cpp
M clang/test/Driver/debug-options.c
M clang/test/Driver/wasm-toolchain.c
M clang/test/Driver/wasm-toolchain.cpp
A clang/test/InstallAPI/project-header-only-args-visibility.test
M clang/test/SemaOpenACC/combined-construct-reduction-clause.cpp
M clang/test/SemaOpenACC/compute-construct-clause-ast.cpp
M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
M clang/test/SemaOpenACC/compute-construct-reduction-clause.cpp
M clang/test/SemaOpenACC/loop-construct-reduction-ast.cpp
M clang/test/SemaTemplate/concepts.cpp
M clang/test/SemaTemplate/partial-spec-instantiate.cpp
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/cudadevice.f90
M flang/test/Lower/CUDA/cuda-device-proc.cuf
M libc/src/__support/GPU/allocator.cpp
M libunwind/src/UnwindRegistersRestore.S
M libunwind/src/UnwindRegistersSave.S
M lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/RegisterPressure.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/Mips/MipsISelLowering.cpp
M llvm/lib/Target/Mips/MipsISelLowering.h
M llvm/lib/Target/SPIRV/CMakeLists.txt
M llvm/lib/Target/SPIRV/SPIRVCombine.td
A llvm/lib/Target/SPIRV/SPIRVCombinerHelper.cpp
A llvm/lib/Target/SPIRV/SPIRVCombinerHelper.h
M llvm/lib/Target/SPIRV/SPIRVPreLegalizerCombiner.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/TargetParser/Triple.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Utils/InstructionNamer.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/fabs.bf16.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs.bf16.ll
M llvm/test/CodeGen/AMDGPU/fneg.bf16.ll
M llvm/test/CodeGen/ARM/fp16-promote.ll
A llvm/test/CodeGen/Generic/bfloat-op.ll
A llvm/test/CodeGen/Generic/bfloat.ll
A llvm/test/CodeGen/Generic/half-op.ll
M llvm/test/CodeGen/RISCV/half-arith.ll
M llvm/test/CodeGen/Thumb2/mve-vabd.ll
A llvm/test/CodeGen/X86/global-variable-partition-with-dap.ll
M llvm/test/Transforms/InstCombine/fold-select-fmul-if-zero.ll
M llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/predicated-reduction.ll
A llvm/test/Transforms/SLPVectorizer/RISCV/x264-satd-8x4.ll
A llvm/test/Transforms/SLPVectorizer/X86/poison-within-divisions.ll
M llvm/test/Transforms/SROA/vector-promotion-cannot-tree-structure-merge.ll
M llvm/tools/bugpoint/OptimizerDriver.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-extract/llvm-extract.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/tools/opt/optdriver.cpp
M llvm/unittests/Support/raw_ostream_test.cpp
M llvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
R llvm/utils/gn/secondary/clang/lib/Analysis/LifetimeSafety/BUILD.gn
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
M mlir/docs/Bindings/Python.md
M orc-rt/include/orc-rt/SimpleNativeMemoryMap.h
M orc-rt/lib/executor/SimpleNativeMemoryMap.cpp
M orc-rt/unittests/SimpleNativeMemoryMapTest.cpp
Log Message:
-----------
Merge branch 'main' into users/mtrofin/10-10-_profcheck_update_xfail_list
Compare: https://github.com/llvm/llvm-project/compare/2a5a05e5f8f1...81b82c64a3e6
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list