[PATCH] D47876: [Mips] Silencing warnings in instruction info (NFC)

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 05:27:25 PDT 2018


atanasyan added inline comments.


================
Comment at: lib/Target/Mips/MipsSEInstrInfo.cpp:211
+  case Mips::RDDSP_MM:
+    break;
   }
----------------
I would set `isWrite = false` here so this function always returns a correct value for the `isWrite` and does not have to rely on proper initialization of the `isWrite` before calling.


https://reviews.llvm.org/D47876





More information about the llvm-commits mailing list