[all-commits] [llvm/llvm-project] bfc4f2: [RISCV] Combine (GORCI (GORCI x, C2), C1) -> (GORC...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Nov 30 08:48:25 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfc4f29f46b4961c0532cf734f5d15015b4f7120
      https://github.com/llvm/llvm-project/commit/bfc4f29f46b4961c0532cf734f5d15015b4f7120
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rv32Zbp.ll
    M llvm/test/CodeGen/RISCV/rv64Zbp.ll

  Log Message:
  -----------
  [RISCV] Combine (GORCI (GORCI x, C2), C1) -> (GORCI x, C1|C2).

Unlike GREVI, GORCI stages can't be undone, but they are
redundant if done more than once.

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




More information about the All-commits mailing list