[llvm] [Mips] Support llvm.readcyclecounter intrinsic (PR #114953)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 01:31:42 PST 2025


================
@@ -359,6 +359,10 @@ MipsTargetLowering::MipsTargetLowering(const MipsTargetMachine &TM,
   setOperationAction(ISD::FCOPYSIGN,          MVT::f64,   Custom);
   setOperationAction(ISD::FP_TO_SINT,         MVT::i32,   Custom);
 
+  if (Subtarget.hasMips32r2() &&
----------------
wzssyqa wrote:

&& -> ||

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


More information about the llvm-commits mailing list