[all-commits] [llvm/llvm-project] 3c37f9: [RISCV] Fix comment in compress-opt-branch.ll to m...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Apr 5 11:53:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c37f926a153d38852d593c4a7f9062e72ee4b2f
      https://github.com/llvm/llvm-project/commit/3c37f926a153d38852d593c4a7f9062e72ee4b2f
  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] Fix comment in compress-opt-branch.ll to match description. NFC

Test description says constant does not fit in 12 bits, but the constant
used was -2048 which does fit in 12 bits. Update to -2049.

Also remove uses of -NOT in favor of positive checks. One of the -NOT
should have been using RESBROPT instead of "c.beqz" so that it would
check for the absense of the correct instruction based on the sed
replacement on the RUN line.



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