[all-commits] [llvm/llvm-project] e7e782: [RISCV] Remove uses of sed from compress-opt-branc...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Apr 5 12:44:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7e78274a66df59ce3f2fa2bfd8a554e637ee0b6
      https://github.com/llvm/llvm-project/commit/e7e78274a66df59ce3f2fa2bfd8a554e637ee0b6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/compress-opt-branch.ll

  Log Message:
  -----------
  [RISCV] Remove uses of sed from compress-opt-branch.ll. NFC

sed was being used to use the same test functions with eq/ne branch
condition.

This commit duplicates the test functions so that we have a version
with each condition. This allows us to remove 2 RUN lines.

I plan to add a Zca testing to this file which now requires 1 new
RUN line instead of 2.


  Commit: 0a6a40d62ed338eb3aa57bfee83d958521542fba
      https://github.com/llvm/llvm-project/commit/0a6a40d62ed338eb3aa57bfee83d958521542fba
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/CodeGen/RISCV/compress-opt-branch.ll

  Log Message:
  -----------
  [RISCV] Add Zca predicate to BrccCompressOpt patterns used for MinSize.

Previously we only checked for C.


Compare: https://github.com/llvm/llvm-project/compare/25ebbe3851c5...0a6a40d62ed3

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list