search for: r253168

Displaying 3 results from an estimated 3 matches for "r253168".

Did you mean: 253162
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 attribute to functions that have calls to library functions that aren't themselves marked...
2016 Mar 22
1
Question about GlobalOpt
...r 21, 2016, at 3:57 PM, Sanjin Sijaric via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> > wrote: 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 attribute to functions that have calls to library functions that aren’t themselves marked with the nore...
2016 Mar 22
3
Question about GlobalOpt
...te: > On Mar 21, 2016, at 3:57 PM, Sanjin Sijaric via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > 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 attribute > to functions that have calls to library functions that aren’t themselves >...