[PATCH] D88851: InstCombine: Fix infinite loop in copy-constant-to-alloca transform

Guy Blank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 17 05:33:48 PDT 2021


guyblank added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:268
     } else {
-      return;
+      LLVM_DEBUG(dbgs() << "Cannot handle pointer user: " << *U << '\n');
+      return false;
----------------
Hi,
Encountered an issue with this in an out-of-tree target. Is this missing handling of lifetime start/end?



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

https://reviews.llvm.org/D88851



More information about the llvm-commits mailing list