[all-commits] [llvm/llvm-project] ae3ba7: [RISCV][GlobalISel] Select G_FRAME_INDEX (#68254)

Nitin John Raj via All-commits all-commits at lists.llvm.org
Tue Oct 17 17:56:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae3ba725b7902ec9058a07de0db49f17419c6daa
      https://github.com/llvm/llvm-project/commit/ae3ba725b7902ec9058a07de0db49f17419c6daa
  Author: Nitin John Raj <105745460+nitinjohnraj at users.noreply.github.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

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

  Log Message:
  -----------
  [RISCV][GlobalISel] Select G_FRAME_INDEX (#68254)

This patch is a bandage to get G_FRAME_INDEX working. We could import
the SelectionDAG patterns for the ComplexPattern FrameAddrRegImm, and
perhaps we will do that in the future. For now we just select it as an
addition with 0.




More information about the All-commits mailing list