[PATCH] D118805: [GlobalISel] Don't combine instructions which are fed by memory instructions using different size
Róbert Ágoston via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 2 08:50:02 PST 2022
agostonrobert created this revision.
Herald added subscribers: hiraditya, rovka.
agostonrobert requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Memory instructions like extending loads from the same address are not equal if
their size is not equal.
This fixes https://github.com/llvm/llvm-project/issues/53524.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118805
Files:
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-not-really-equiv-insts.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118805.405296.patch
Type: text/x-patch
Size: 6738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/95a18775/attachment.bin>
More information about the llvm-commits
mailing list