[PATCH] D22713: Fix - CodeExtractor : Inherit Target Dependent Attributes from the parent function.
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 16:30:53 PDT 2016
silvas added inline comments.
================
Comment at: /Users/rriddle/Desktop/llvm/llvm/lib/Transforms/Utils/CodeExtractor.cpp:352
@@ +351,3 @@
+ AttributeSet OldAttrs = oldFunction->getAttributes().getFnAttributes();
+ AttrBuilder AB(OldAttrs, AttributeSet::FunctionIndex);
+ for (auto Attr : AB.td_attrs())
----------------
Can you add a FIXME here that there may be target-dependent attributes that can't be copied?
https://reviews.llvm.org/D22713
More information about the llvm-commits
mailing list