[llvm] [RISCV] Use TImmLeaf for csr_sysreg (PR #82463)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 22:45:27 PST 2024


================
@@ -127,7 +127,8 @@ enum NodeType : unsigned {
   FMAX, FMIN,
 
   // A read of the 64-bit counter CSR on a 32-bit target (returns (Lo, Hi)).
-  // It takes a chain operand.
+  // It takes a chain operand and another two target constant operands (the
+  // low and high parts of the counter).
----------------
topperc wrote:

"the CSR numbers of the low and high parts of the counter"

https://github.com/llvm/llvm-project/pull/82463


More information about the llvm-commits mailing list