[PATCH] D133777: [SelectOpti] Fix lifetime intrinsic bug

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 09:25:27 PDT 2022


davidxl added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectOptimize.cpp:432
+    // case any use is sinked).
+    SmallVector<Instruction *, 2> EndLifetimeCalls;
+    for (Instruction &I : *StartBlock) {
----------------
is it better to track the life end variable and inserted after the target instruction?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133777



More information about the llvm-commits mailing list