[all-commits] [llvm/llvm-project] 1e086d: [DAGCombiner] Fix crash in reassociationCanBreakAd...
Alexander Weinrauch via All-commits
all-commits at lists.llvm.org
Tue Feb 10 13:53:58 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e086d06e984e83988470208afeb52977ff3b2ce
https://github.com/llvm/llvm-project/commit/1e086d06e984e83988470208afeb52977ff3b2ce
Author: Alexander Weinrauch <alexander.weinrauch at amd.com>
Date: 2026-02-10 (Tue, 10 Feb 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/AMDGPU/dagcombine-reassociate-multi-memop.ll
Log Message:
-----------
[DAGCombiner] Fix crash in reassociationCanBreakAddressingModePattern for multi-memop nodes (#180268)
Two code paths in `reassociationCanBreakAddressingModePattern` were
missing a `hasUniqueMemOperand()` guard before calling
`getAddressSpace()`. Note that on `L1214` we already have the same guard
in place.
`getAddressSpace()` chains through `getPointerInfo()` to
`getMemOperand()`, which asserts that the node has exactly one memory
operand.
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