[PATCH] D41334: [CodeExtractor] Use function attributes from original function.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 09:08:55 PST 2018


fhahn added a comment.

Post holiday ping. Happy new year! This updates CodeExtractor to propagate the function attributes for the original function to the extracted function (and the call to the extracted function). As the extracted function is a subset of the original function, I think that should be safe and desired (e.g. correctly preserving fastmath flags or ARM thumbness)


https://reviews.llvm.org/D41334





More information about the llvm-commits mailing list