[all-commits] [llvm/llvm-project] 4e94e2: Fix minor deficiency in machine-sink.

elavkje via All-commits all-commits at lists.llvm.org
Thu Nov 11 23:16:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e94e25c9024d01451e318fe48aee79b615e9c2b
      https://github.com/llvm/llvm-project/commit/4e94e25c9024d01451e318fe48aee79b615e9c2b
  Author: Markus Lavin <markus.lavin at ericsson.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp
    A llvm/test/CodeGen/RISCV/MachineSink-implicit-x0.mir

  Log Message:
  -----------
  Fix minor deficiency in machine-sink.

Register uses that are MRI->isConstantPhysReg() should not inhibit
sinking transformation.

Reviewed By: StephenTozer

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




More information about the All-commits mailing list