[all-commits] [llvm/llvm-project] 690bed: [X86][AMX] Fix infinite loop of getShape.

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Sat Apr 9 23:46:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 690bed0cec7e3359b0136acd98c0940aed5d0722
      https://github.com/llvm/llvm-project/commit/690bed0cec7e3359b0136acd98c0940aed5d0722
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86LowerAMXType.cpp
    M llvm/test/CodeGen/X86/AMX/amx-combine-undef.ll

  Log Message:
  -----------
  [X86][AMX] Fix infinite loop of getShape.

When walk the user chain to get the shape of a phi node. If it is phi
node in the chain, we should walk to the user of this phi node instead
of the original phi node.




More information about the All-commits mailing list