[all-commits] [llvm/llvm-project] 98eb28: [RISCV][GISel] Implement instruction selection for...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Sep 22 13:23:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98eb28b621d6ea05269c779ceefe0fb7e4862dff
      https://github.com/llvm/llvm-project/commit/98eb28b621d6ea05269c779ceefe0fb7e4862dff
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/phi-rv32.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/phi-rv64.mir

  Log Message:
  -----------
  [RISCV][GISel] Implement instruction selection for G_PHI and G_BRCOND.

This uses a naive lowering for G_BRCOND to a BNE instruction comparing
the register to X0.




More information about the All-commits mailing list