[PATCH] MergeFunc: Avoid invalid merge of functions using different range metadata
Björn Steinbrink
bsteinbr at gmail.com
Tue Jun 10 08:41:10 PDT 2014
Updated the patch to merge the range metadata for the loads instead of not
merging such functions at all. I found mergeTwoFunctions() to be a better place
than insert() to call the new method that handles the merge of the range
metadata. I hope this is what you had in mind.
http://reviews.llvm.org/D4062
Files:
lib/Transforms/IPO/MergeFunctions.cpp
test/Transforms/MergeFunc/ranges.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4062.10280.patch
Type: text/x-patch
Size: 4538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140610/8e3ffc38/attachment.bin>
More information about the llvm-commits
mailing list