[all-commits] [llvm/llvm-project] c748d2: [RISCV] Improve test coverage in ctlz-cttz-ctpop.l...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun May 15 10:24:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c748d2cdd9c47a8ed35deeb419c861280cc862a1
      https://github.com/llvm/llvm-project/commit/c748d2cdd9c47a8ed35deeb419c861280cc862a1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-05-15 (Sun, 15 May 2022)

  Changed paths:
    M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll

  Log Message:
  -----------
  [RISCV] Improve test coverage in ctlz-cttz-ctpop.ll. NFC

Add more i8/16 tets.
Add ctlz_zero_undef tests.


  Commit: d0312a5c3f876c38e9c62588478025f310600861
      https://github.com/llvm/llvm-project/commit/d0312a5c3f876c38e9c62588478025f310600861
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-05-15 (Sun, 15 May 2022)

  Changed paths:
    M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll

  Log Message:
  -----------
  [RISCV] Add M extension command lines to ctlz-cttz-ctpop.ll. NFC

ctpop and cttz default expansion both end up using a multiply. This
can either use a mul instruction or libcall. Make sure we test both
cases.


Compare: https://github.com/llvm/llvm-project/compare/6bf8133f9f34...d0312a5c3f87


More information about the All-commits mailing list