[LLVMdev] Destroying MDNodeOperand

Pan, Wei wei.pan at intel.com
Wed Jul 15 14:49:23 PDT 2015


Hello,

>From VTune profiler, we notice that function MDNodeOperand::deleted, called from destructor ~llvmContextImpl, consumes ~18% (0.67 sec) of the total compilation time (3.7sec). This llvm module has ~400 metadata. Is this destruction time unexpectedly high or just expected? Or we should avoid to use this amount of metadata in the first place.  Any thoughts or suggestions?

Thanks,
Wei




More information about the llvm-dev mailing list