[all-commits] [llvm/llvm-project] 28efe4: [RISCV] Add tests for merging base offset of Block...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Sun Sep 17 20:47:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28efe4d38ecefd8f788777348ce56907a5905c47
      https://github.com/llvm/llvm-project/commit/28efe4d38ecefd8f788777348ce56907a5905c47
  Author: wangpc <wangpengcheng.pp at bytedance.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll

  Log Message:
  -----------
  [RISCV] Add tests for merging base offset of BlockAddress

We can get `BlockAddress` in user code via `Labels as Values`.

Reviewed By: craig.topper

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


  Commit: cedf2ea7b50fd23a4f68f2276ebd9322e100e1f6
      https://github.com/llvm/llvm-project/commit/cedf2ea7b50fd23a4f68f2276ebd9322e100e1f6
  Author: wangpc <wangpengcheng.pp at bytedance.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
    M llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll

  Log Message:
  -----------
  [RISCV] Teach RISCVMergeBaseOffset to handle BlockAddress

We can get `BlockAddress` in user code via `Labels as Values` so
we should be able to merge the access to `BlockAddress`.

Reviewed By: craig.topper

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


Compare: https://github.com/llvm/llvm-project/compare/068357d9b09c...cedf2ea7b50f


More information about the All-commits mailing list