[all-commits] [llvm/llvm-project] b9567b: [RISCV] Use SelectionDAG::getVScale in lowerVPReve...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Feb 13 20:30:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9567bc78f42a6850ddf3b3cf3f9a0d2cc08ffff
      https://github.com/llvm/llvm-project/commit/b9567bc78f42a6850ddf3b3cf3f9a0d2cc08ffff
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Use SelectionDAG::getVScale in lowerVPReverseExperimental. NFCI (#81694)

Use a slightly more idiomatic way of getting vscale. getVScale
performs additional constant folding, but I presume computeKnownBits
also catches these cases too.




More information about the All-commits mailing list