[PATCH] D83978: [SROA] Teach promote to register about droppable instructions

Tyker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 12:25:49 PDT 2020


Tyker added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/SROA.cpp:3094
+
+    assert(II.getArgOperand(1) == OldPtr);
     // Lifetime intrinsics are only promotable if they cover the whole alloca.
----------------
Same as https://reviews.llvm.org/D83976#inline-773557


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83978





More information about the llvm-commits mailing list