[llvm-bugs] [Bug 41336] New: No-recurse derived for redefinable functions
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 1 10:35:21 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41336
Bug ID: 41336
Summary: No-recurse derived for redefinable functions
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: jdoerfert at anl.gov
CC: llvm-bugs at lists.llvm.org
If a function can be redefined, thus if it doesn't have an "exact" definition,
we should not derive no-recurse from the body, though, we do:
Before:
define linkonce_odr i32 @leaf_redefinable() {
ret i32 1
}
After -functionattrs:
; Function Attrs: norecurse
define linkonce_odr i32 @leaf_redefinable() #6 {
ret i32 1
}
--
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/20190401/84cc20e0/attachment.html>
More information about the llvm-bugs
mailing list