[all-commits] [llvm/llvm-project] bcb2b8: [RISCV] Precommit test for D121881

ShihPo Hung via All-commits all-commits at lists.llvm.org
Tue Apr 26 20:15:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcb2b86df672c0c7779c070000c3d4cdab6017bb
      https://github.com/llvm/llvm-project/commit/bcb2b86df672c0c7779c070000c3d4cdab6017bb
  Author: ShihPo Hung <shihpo.hung at sifive.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll

  Log Message:
  -----------
  [RISCV] Precommit test for D121881

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


  Commit: 6b55f133fb0727e30fd07f56de7a386ad5a72b30
      https://github.com/llvm/llvm-project/commit/6b55f133fb0727e30fd07f56de7a386ad5a72b30
  Author: ShihPo Hung <shihpo.hung at sifive.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll

  Log Message:
  -----------
  [RISCV][RVV] Select unmasked TU RVV pseudos in a DAG post-process

Following D118810 that reduced the size of ISel table,
this patch optimizes allone-masked RVV pseudos with TU policy and
swap them out to their unmasked TU pseudos.

Since the UNDEF merge operand is not preserved, we turn it into TA
pseudo regardless of the policy operand.

Reviewed By: craig.topper, frasercrmck
Differential Revision: https://reviews.llvm.org/D121881


Compare: https://github.com/llvm/llvm-project/compare/693246e03f28...6b55f133fb07


More information about the All-commits mailing list