[PATCH] D57526: MachineVerifier: Move verification of G_* instructions to function

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 4 14:53:14 PST 2019


paquette added inline comments.


================
Comment at: lib/CodeGen/MachineVerifier.cpp:1274
+  if (isPreISelGenericOpcode(MCID.getOpcode())) {
+    verifyPreISelGenericInstruction(MI);
+  } else {
----------------
Can we just return here?

Then we can pull everything else out of the else.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57526/new/

https://reviews.llvm.org/D57526





More information about the llvm-commits mailing list