[PATCH] D129361: [MVE] Don't distribute add of vecreduce if it has more than one use
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 8 04:11:24 PDT 2022
john.brawn created this revision.
john.brawn added reviewers: greened, lenary, david-arm.
Herald added subscribers: dmgreen, hiraditya.
Herald added a project: All.
john.brawn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
If the add has more than one use then applying the transformation won't cause it to be removed, so we can end up applying it again causing an infinite loop.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129361
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-vecreduce-add-combine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129361.443197.patch
Type: text/x-patch
Size: 5502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220708/f0b7505d/attachment.bin>
More information about the llvm-commits
mailing list