[all-commits] [llvm/llvm-project] 1be3b1: [RISCV] Remove FrameIndex case in lui+addi MacroFu...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Wed Oct 18 22:32:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1be3b1ef51eb62dd713b6b221c349695ad39d7a1
      https://github.com/llvm/llvm-project/commit/1be3b1ef51eb62dd713b6b221c349695ad39d7a1
  Author: Wang Pengcheng <137158460+wangpc-pp at users.noreply.github.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVMacroFusion.cpp

  Log Message:
  -----------
  [RISCV] Remove FrameIndex case in lui+addi MacroFusion (#68701)

If the first operand of ADDI is a frame index, then it won't have data
dependency of predecessor LUI. So it is impossible to do the DAG
mutation in these two instructions.




More information about the All-commits mailing list