search for: d27724

Displaying 2 results from an estimated 2 matches for "d27724".

Did you mean: d21724
2016 Dec 13
2
Enabling statistics in release builds / static constructors
...istic.h). However today I cannot enable them in release builds without a performance hits because the lazy initialisation present forces a memory fence on every single increment of the statistic variable. This is trivial to fix: Do the initialization in the constructor. See https://reviews.llvm.org/D27724 I am writing this mail because I expect opposition against introducing static constructors. Looking at previous discussions it is obvious that a lot of static constructor usage is bad as it promotes global state that should better be put into LLVMContext. However lazily initializing the Statistic...
2016 Dec 13
0
Enabling statistics in release builds / static constructors
...day > I cannot enable them in release builds without a performance hits because > the lazy initialisation present forces a memory fence on every single > increment of the statistic variable. This is trivial to fix: Do the > initialization in the constructor. See https://reviews.llvm.org/D27724 > > I am writing this mail because I expect opposition against introducing > static constructors. Looking at previous discussions it is obvious that a > lot of static constructor usage is bad as it promotes global state that > should better be put into LLVMContext. > However lazil...