[all-commits] [llvm/llvm-project] e0fe8e: [RISCV][NFC] Add signext to jumptable.ll tests to ...

Jessica Clarke via All-commits all-commits at lists.llvm.org
Fri Mar 3 12:21:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0fe8e641258cf77fbca79f6c29120c41186db18
      https://github.com/llvm/llvm-project/commit/e0fe8e641258cf77fbca79f6c29120c41186db18
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/jumptable.ll

  Log Message:
  -----------
  [RISCV][NFC] Add signext to jumptable.ll tests to avoid irrelevant sext.w

Sign-extending the input is irrelevant to the test in question, which
merely needs some arbitrary input to switch on. This also removes the
only difference between the RV32I and RV64I cases for @below_threshold
and will allow unifying them.


  Commit: 6e8bcaafbaa4b55099f632d46ce497cc3f0e546d
      https://github.com/llvm/llvm-project/commit/6e8bcaafbaa4b55099f632d46ce497cc3f0e546d
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/jumptable.ll

  Log Message:
  -----------
  [RISCV][NFC] Unify CHECK lines for jumptable.ll @below_threshold test

These are all identical across XLEN and code model since they're not
using a jump table, so unify them rather than having multiple copies.


  Commit: 3a748cd01bbf4229b4a6bda208c8b33e96dfba6e
      https://github.com/llvm/llvm-project/commit/3a748cd01bbf4229b4a6bda208c8b33e96dfba6e
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/jumptable.ll

  Log Message:
  -----------
  [RISCV][NFC] Add PIC RUN/CHECK lines for jumptable.ll test

The omission of checking our PIC jump table code generation is a bit of
an oversight, so belatedly add this coverage.


Compare: https://github.com/llvm/llvm-project/compare/1e1dfbb94a20...3a748cd01bbf


More information about the All-commits mailing list