Displaying 2 results from an estimated 2 matches for "allowedness".
Did you mean:
allowed_nets
2013 Feb 19
0
[LLVMdev] [RFC] NoBuiltin Attribute
...o-builtin.
void bar() {
printf("goodbye world\n");
}
After LTO, we need to know that it is safe to optimize goodbye world into a call to puts, even though: 1) there is no prototype at all in the IR for puts, 2) two different functions (foo and bar) have different builtin-optimization-allowedness.
There are only two correct ways to model this: 1) an IR attribute on the function *bodies* being compiled in a translation unit, or 2) as an IR attribute on each *call* in the code being compiled in a translation unit.
If we want to be pedantically correct, #2 is really the right way to go, beca...
2013 Feb 19
2
[LLVMdev] [RFC] NoBuiltin Attribute
On 2/18/2013 8:08 PM, Chris Lattner wrote:
>
> That code is presumably compiled by someone. If whoever compiles it specifies -fno-builtin, the attribute would be added to it. It doesn't affect its clients.
After reading the description quoted by Bill, I'm not sure what you mean
by attaching the attribute to the function body. Suppose I have my own
version of strlen, written in