[llvm] MTM: fix issues after cursory reading (PR #100404)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 09:00:09 PDT 2024


================
@@ -852,14 +846,14 @@ computeInstrDepths(const MachineBasicBlock *MBB) {
   // implies Head->HasValidInstrDepths, so we only need to start from the first
   // block in the trace that needs to be recomputed.
   SmallVector<const MachineBasicBlock*, 8> Stack;
-  do {
+  while (MBB) {
----------------
artagnon wrote:

Yes, technically. I've dropped the NFC tag.

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


More information about the llvm-commits mailing list