[PATCH] D152726: [RISCV][GlobalISel] Legalize all ALU instructions, excluding w-instructions

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 12:48:58 PDT 2023


tschuett added inline comments.


================
Comment at: llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp:49
+        .libcall()
+        .clampScalar(0, XLenLLT, XLenLLT);
+  }
----------------
What is the effect of the clampScalar? You are doing lib call for legal values?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152726/new/

https://reviews.llvm.org/D152726



More information about the llvm-commits mailing list