[llvm] [RISCV] Sink hasSideEffects, mayLoad, mayStore from defs to classes in RISCVInstrInfo.td. NFC (PR #130714)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 10 21:14:24 PDT 2025


================
@@ -70,6 +71,7 @@ let Predicates = [HasVendorXCVbitmanip, IsRV32],
   def CV_CNT : CVBitManipR<0b0100100, "cv.cnt">;
 }
 
+let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
----------------
lenary wrote:

This can go inside CVInstMac right, rather than with a let?

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


More information about the llvm-commits mailing list