[PATCH] D88851: InstCombine: Fix infinite loop in copy-constant-to-alloca transform
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 17 05:59:00 PDT 2021
arsenm 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;
----------------
guyblank wrote:
> Hi,
> Encountered an issue with this in an out-of-tree target. Is this missing handling of lifetime start/end?
>
Yes. Do you have a testcase?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88851/new/
https://reviews.llvm.org/D88851
More information about the llvm-commits
mailing list