[all-commits] [llvm/llvm-project] 3494c5: [RISCV] postpone removal in initundef pass (#71661)

Piyou Chen via All-commits all-commits at lists.llvm.org
Sun Nov 19 19:44:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3494c555c93c5f5cf5c36a84a819b80a4d922a82
      https://github.com/llvm/llvm-project/commit/3494c555c93c5f5cf5c36a84a819b80a4d922a82
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVRVVInitUndef.cpp
    M llvm/test/CodeGen/RISCV/regalloc-last-chance-recoloring-failure.ll
    A llvm/test/CodeGen/RISCV/rvv/handle-noreg-with-implicit-def.mir

  Log Message:
  -----------
  [RISCV] postpone removal in initundef pass (#71661)

InitUndef pass need replace the implicit def with Undef pseudo, but
current remove method will make noreg2implicit borken.

This patch postpone the removal until all basicblock be processed.




More information about the All-commits mailing list