[PATCH] D129169: [X86] Fix collectLeaves for adds used by phi that forms loop

Haohai, Wen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 21:22:23 PDT 2022


HaohaiWen created this revision.
Herald added subscribers: jsji, pengfei, hiraditya.
Herald added a project: All.
HaohaiWen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

When add has additional users, we should indentify whether add's
user is phi that forms loop rather than root's.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129169

Files:
  llvm/lib/Target/X86/X86PartialReduction.cpp
  llvm/test/CodeGen/X86/madd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129169.442437.patch
Type: text/x-patch
Size: 9000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220706/00a91822/attachment.bin>


More information about the llvm-commits mailing list