[llvm-bugs] [Bug 38097] New: feature request: target_clones, to compile a given section multiple times and generate ifunc function to wrap it
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jul 8 20:21:49 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38097
Bug ID: 38097
Summary: feature request: target_clones, to compile a given
section multiple times and generate ifunc function to
wrap it
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: danielgb at au1.ibm.com
CC: llvm-bugs at lists.llvm.org
Like:
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-target_005fclones-function-attribute
This allows the same code, which may have an ideal optimization under a
particular CPU/feature, but can fall back the lowest supported feature from
-mcpu=.
This could take different cpus, or subtarget features like target attribute
(http://clang.llvm.org/docs/AttributeReference.html#target-gnu-tar)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180709/8bdc1f57/attachment.html>
More information about the llvm-bugs
mailing list