Displaying 2 results from an estimated 2 matches for "d14769".
Did you mean:
d14069
2016 Mar 22
1
Question about GlobalOpt
...eak the C standard (unless it has a similar statement regarding “main” that the C++ standard has – I cannot find it), so that’s a no-go. Looks like there was an attempt to bypass library calls in the Function Attributes pass for the purpose of detecting norecurse functions: http://reviews.llvm.org/D14769. I’ll look for other threads on this topic.
Thanks,
Sanjin
From: mehdi.amini at apple.com [mailto:mehdi.amini at apple.com]
Sent: Monday, March 21, 2016 4:02 PM
To: Sanjin Sijaric <ssijaric at codeaurora.org>
Cc: LLVM Dev Mailing List <llvm-dev at lists.llvm.org>; Chandler Ca...
2016 Mar 21
3
Question about GlobalOpt
Hi,
GlobalOpt may not consider demoting globals to locals in the "main" function
when C is used. It used to consider "main" specifically prior to commit
r253168 , for both C and C++. Since r253168, the check for the norecurse
attribute may prevent "main" from being considered. This happens because
the Function Attributes pass will not add the norecurse