HomePhabricator

[PGO]: Do not update Data->Value field during profile write.

Authored by davidxl on Dec 28 2015, 11:13 PM.

Description

[PGO]: Do not update Data->Value field during profile write.

The profile reader no longer depends on this field to be updated and point
to owning func's vp data. The VP data also no longer needs to be allocated
in a contiguous memory space.

Differential Revision: http://reviews.llvm.org/D15258

llvm-svn: 256543

Details