[all-commits] [llvm/llvm-project] ddd4ed: [LSR] Add test coverage for ICmpZero cases involvi...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Jul 13 17:15:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddd4ed99445dba17ccffc22a9d74a5448745a466
      https://github.com/llvm/llvm-project/commit/ddd4ed99445dba17ccffc22a9d74a5448745a466
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

  Changed paths:
    A llvm/test/Transforms/LoopStrengthReduce/RISCV/icmp-zero.ll
    A llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg

  Log Message:
  -----------
  [LSR] Add test coverage for ICmpZero cases involving urem RHS

For the moment, we're pretty conservative here.  My motivating case is the vscale one (as that is idiomatic for scalable vectorized loops on RISCV).  There are two obvious approaches to fixing this, and I tried to add reasonable coverage for both even though I'll likely only fix one.




More information about the All-commits mailing list