[all-commits] [llvm/llvm-project] 16547f: [CodeGen] Fix the bug of machine sink

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Wed Jun 15 08:47:09 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16547f9fbbd56c7b8256b6eea1ccd8b1547ef4e5
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp
    A llvm/test/CodeGen/X86/sink-down-undef-use.mir

  Log Message:
  [CodeGen] Fix the bug of machine sink

The use operand may be undefined. In that case we can just continue to
check the next operand since it won't increase register pressure.

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

More information about the All-commits mailing list