[PATCH] D99875: [Statepoint] Factor-out utility function to get non-foldable area of STATEPOINT like instructions. NFC

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 5 08:41:23 PDT 2021


reames requested changes to this revision.
reames added a comment.
This revision now requires changes to proceed.

Naming suggestions, but likely to converge to LGTM on next iteration.



================
Comment at: llvm/lib/CodeGen/TargetInstrInfo.cpp:511
+  unsigned NumDefs = 0;
+  assert((MI.getOpcode() == TargetOpcode::STACKMAP ||
+          MI.getOpcode() == TargetOpcode::PATCHPOINT ||
----------------
Minor, move the assert above the variable declarations.  


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

https://reviews.llvm.org/D99875



More information about the llvm-commits mailing list