[PATCH] D68633: fix debug info affects output when opt inline
Chris Ye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 07:35:19 PDT 2019
yechunliang updated this revision to Diff 224339.
yechunliang added a comment.
[inline] skip dbg info when scan allocas
Debug instruction will break the next alloca scanning, the alloca instruction next to debug instruction will fail to insert to the caller function. The debug instructions should be skipped when next allocas scanning.
Fix the issue: https://bugs.llvm.org/show_bug.cgi?id=43291
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68633/new/
https://reviews.llvm.org/D68633
Files:
llvm/lib/Transforms/Utils/InlineFunction.cpp
llvm/test/Transforms/Inline/inline-with-debuginfo.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68633.224339.patch
Type: text/x-patch
Size: 6770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191010/c409e519/attachment.bin>
More information about the llvm-commits
mailing list