[all-commits] [llvm/llvm-project] 40222d: [X86] Fix the vnni machine combine issue.

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Fri Apr 28 22:51:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40222ddcf8f54fe523b2d14ab7005ebf412330f1
      https://github.com/llvm/llvm-project/commit/40222ddcf8f54fe523b2d14ab7005ebf412330f1
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2023-04-29 (Sat, 29 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/MachineCombiner.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/test/CodeGen/X86/avx512vnni-combine.ll
    M llvm/test/CodeGen/X86/avxvnni-combine.ll

  Log Message:
  -----------
  [X86] Fix the vnni machine combine issue.

The previous patch (D148980) didn't set the InstrIdxForVirtReg correctly
in genAlternativeDpCodeSequence(). It causes vnni lit test failure when
LLVM_ENABLE_EXPENSIVE_CHECKS is on.




More information about the All-commits mailing list