[all-commits] [llvm/llvm-project] 18a108: [X86] Fix collectLeaves for adds used by phi that ...

HaohaiWen via All-commits all-commits at lists.llvm.org
Thu Jul 7 19:39:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18a1085e02a8cb3be7d826b32cd47203a91fd358
      https://github.com/llvm/llvm-project/commit/18a1085e02a8cb3be7d826b32cd47203a91fd358
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86PartialReduction.cpp
    M llvm/test/CodeGen/X86/madd.ll

  Log Message:
  -----------
  [X86] Fix collectLeaves for adds used by phi that forms loop

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

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D129169




More information about the All-commits mailing list