llvm
02c9e898 - [InstCombine][MemProf] Preserve all metadata (#169242)

Commit
161 days ago
[InstCombine][MemProf] Preserve all metadata (#169242) When rewriting operator new calls to their hot/cold variants for PGHO, `!alloc_token` metadata was being dropped. This metadata is required by the AllocToken pass to correctly instrument the optimized allocation. Fix it by preserving all metadata.
Author
Parents
Loading