[PATCH] D68633: fix debug info affects output when opt inline
Chris Ye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 04:14:34 PDT 2019
yechunliang created this revision.
yechunliang added reviewers: bjope, jmorse, vsk, probinson, jdoerfert, mtrofin.
Herald added subscribers: llvm-commits, hiraditya, aprantl.
Herald added a project: LLVM.
Debug info affects output from "opt -inline", InlineFunction could not handle the llvm.dbg.value when it exist between alloca instructions, scanning the block of allocas will get wrong result if llvm.dbg.value instr exist. Skip dbg instr while allocas scanning.
Fix the issue: https://bugs.llvm.org/show_bug.cgi?id=43291
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.223819.patch
Type: text/x-patch
Size: 5878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191008/5c2b417c/attachment.bin>
More information about the llvm-commits
mailing list