[InstrProf][NFC] Refactor ProfileDataMap usage
Instead of using `DenseMap::find()` and `DenseMap::insert()`, use `DenseMap::operator[]` to get a reference to the profile data and update the reference. This simplifies the changes in D114565. Reviewed By: kyulee Differential Revision: https://reviews.llvm.org/D114828
Loading
Please sign in to comment