[all-commits] [llvm/llvm-project] 491403: [RISCV] Fix bad CHECK prefix in rv32zbkb-valid.s.

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Jan 30 17:10:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 491403c11d59631e9c0762189a8e8b5dfd54bba3
      https://github.com/llvm/llvm-project/commit/491403c11d59631e9c0762189a8e8b5dfd54bba3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    M llvm/test/MC/RISCV/rv32zbkb-valid.s

  Log Message:
  -----------
  [RISCV] Fix bad CHECK prefix in rv32zbkb-valid.s.

"pack t0, t1, zero" disassembles to "pack t0, t1, zero" with Zbkb
not "zext.h t0, t1"

Part of the test was using a CHECK prefix that doesn't appear on
the RUN line.


  Commit: 3931faa59e22e7ce06443cbcf00ef550e5f16dd0
      https://github.com/llvm/llvm-project/commit/3931faa59e22e7ce06443cbcf00ef550e5f16dd0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    R llvm/test/MC/RISCV/rv64-zbkb-valid.s
    A llvm/test/MC/RISCV/rv64zbkb-valid.s

  Log Message:
  -----------
  [RISCV] Rename rv64-zbkb-valid.s to rv64zbkb-valid.s. NFC


  Commit: bb495810d9e3b5029d5a79273c9443ebc9023b7c
      https://github.com/llvm/llvm-project/commit/bb495810d9e3b5029d5a79273c9443ebc9023b7c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    R llvm/test/MC/RISCV/rv64zbkb-only-valid.s
    M llvm/test/MC/RISCV/rv64zbkb-valid.s

  Log Message:
  -----------
  [RISCV] Merge rv64zbkb-valid.s and rv64zbkb-only-valid.s. NFC

Based on the existing naming "only" tests are used for rv32 instructions
that don't exist in rv64. rv32 tests without "only" are for instructions
that are in both rv32 and rv64. The rv64 tests are for instructions
that are only in rv64.

Both of these test files have instruction encodings that are only
valid in rv64 so they can be the same file.


  Commit: 175145e3f430a37ae32c18f1bf99a4a8e08554ce
      https://github.com/llvm/llvm-project/commit/175145e3f430a37ae32c18f1bf99a4a8e08554ce
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    M llvm/test/MC/RISCV/rv32zbkb-valid.s
    M llvm/test/MC/RISCV/rv64zbkb-valid.s

  Log Message:
  -----------
  [RISCV] Add more pack and packw test case for Zbkb. NFC

Make sure we cover the encodings use for zext.h and other encodings
not used for zext.h.


Compare: https://github.com/llvm/llvm-project/compare/2f18b02de7e3...175145e3f430


More information about the All-commits mailing list