[PATCH] D121335: [SDAG] Use MMO flags in MemSDNode folding
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 13:54:15 PST 2022
rampitec created this revision.
rampitec added reviewers: foad, arsenm, pete, bogner.
Herald added subscribers: kerbowa, hiraditya, tpr, jvesely.
Herald added a project: All.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
SDNodes with different target flags may now be folded together
rightfully resulting in the assertion in the refineAlignment.
Folding nodes with different target flags may result in the
wrong load instructions produced at least on the AMDGPU.
Fixes: SWDEV-326805
https://reviews.llvm.org/D121335
Files:
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/test/CodeGen/AMDGPU/mmo-target-flags-folding.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121335.414207.patch
Type: text/x-patch
Size: 11195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220309/97f05e45/attachment.bin>
More information about the llvm-commits
mailing list