[PATCH] D118304: [Spill2Reg][7/9] MBB live-ins are now being updated.

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 16:32:12 PDT 2022


Carrot added inline comments.


================
Comment at: llvm/lib/CodeGen/Spill2Reg.cpp:328
+      if (!MBB->isLiveIn(VectorReg))
+        MBB->addLiveIn(VectorReg);
+    }
----------------
If the reload and spill are in the same BB, like
```
bb6:
     spill  stack.0
     reload stack.0
```

does it adds VectorReg to LiveIn?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118304



More information about the llvm-commits mailing list