[PATCH] D45926: Fix DISubprogram while extracting instructions out of function

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 23 15:24:35 PDT 2018


hiraditya marked 3 inline comments as done.
hiraditya added inline comments.


================
Comment at: test/Transforms/MergeSimilarFunc/merge-debug-info-2.ll:58
+bb:
+  %tmp = alloca %struct.snork*, align 8
+  %tmp1 = alloca %struct.snork*, align 8
----------------
aprantl wrote:
> Is there a reason why this function needs to have more than just a single instruction?
Merge function seem to have some size metric to merge instructions. I think it may be possible to reduce a little bit but how much I'm not sure.


https://reviews.llvm.org/D45926





More information about the llvm-commits mailing list