[clang] [llvm] [LLVM] Add `__builtin_readsteadycounter` intrinsic and builtin for realtime clocks (PR #81331)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 12 12:00:07 PST 2024


================
@@ -104,6 +104,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
   case ISD::ATOMIC_STORE:               return "AtomicStore";
   case ISD::PCMARKER:                   return "PCMarker";
   case ISD::READCYCLECOUNTER:           return "ReadCycleCounter";
+  case ISD::READSTEADYCOUNTER:             return "ReadFixedTimer";
----------------
Artem-B wrote:

Should it be "ReadSteadyCounter" ? 

Also, whitespace/alignment looks off.

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


More information about the cfe-commits mailing list