[all-commits] [llvm/llvm-project] 316110: [RISCV][GISel] Attempt to simplify how we handle t...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Nov 13 19:20:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3161102f10cbd8e902bb3172bfa58d5c20d2dc22
      https://github.com/llvm/llvm-project/commit/3161102f10cbd8e902bb3172bfa58d5c20d2dc22
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp

  Log Message:
  -----------
  [RISCV][GISel] Attempt to simplify how we handle type legality for F and D extensions. (#72174)

Add helper that creates a lambda similar to typeIs, but containing the
predicate check for hasStdExtF and hasStdD. We can use this with legalIf
and all to reduce the number of manual lambdas we need to write.




More information about the All-commits mailing list