[llvm-branch-commits] [llvm] [RISCV] Support llvm.readsteadycounter intrinsic (PR #82322)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 20 21:32:11 PST 2024


================
@@ -126,9 +126,10 @@ enum NodeType : unsigned {
   // Floating point fmax and fmin matching the RISC-V instruction semantics.
   FMAX, FMIN,
 
-  // READ_CYCLE_WIDE - A read of the 64-bit cycle CSR on a 32-bit target
-  // (returns (Lo, Hi)). It takes a chain operand.
-  READ_CYCLE_WIDE,
+  // A read of the 64-bit counter CSR on a 32-bit target (returns (Lo, Hi)).
+  // It takes a chain operand.
----------------
topperc wrote:

Comment should mention the new operands

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


More information about the llvm-branch-commits mailing list