[LLVMdev] RFC: PerfGuide for frontend authors

Philip Reames listmail at philipreames.com
Mon Mar 2 11:20:09 PST 2015


On 02/28/2015 08:53 AM, Hal Finkel wrote:
> ----- Original Message -----
>> I am using invariant.load, tbaas is constant flag, and a custom hook
>> for zero initialized memory from my allocation routines.
> We should discuss this custom hook -- perhaps we'd also benefit from something similar upstream (from calloc, etc.). [Different thread however, I suppose].
I think we already have this upstream for calloc.  Or at least I 
proposed patches several months back.  I don't remember what happened 
here...

Yep, we've got the basic checks in GVN.  It could be expanded, but we at 
least catch the simple cases.

Philip



More information about the llvm-dev mailing list