[PATCH] D92074: [llvm-profdata] Emit Error when Invalid MemOpSize Section is Created by llvm-profdata

Matthew Voss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 16:56:20 PST 2021


ormris updated this revision to Diff 319721.
ormris added a comment.

- Update in-pass check to detect all duplicates
- Remove duplicate from MemOp pass test case
- Change warning to "Invalid profile"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92074/new/

https://reviews.llvm.org/D92074

Files:
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/include/llvm/ProfileData/InstrProfWriter.h
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/InstrProfWriter.cpp
  llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  llvm/test/Transforms/PGOProfile/Inputs/consecutive-zeros.proftext
  llvm/test/Transforms/PGOProfile/consecutive-zeros.ll
  llvm/test/Transforms/PGOProfile/memop_size_opt.ll
  llvm/test/tools/llvm-profdata/invalid-profile-gen-zeros.proftext
  llvm/tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92074.319721.patch
Type: text/x-patch
Size: 14216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210128/e339e25d/attachment.bin>


More information about the llvm-commits mailing list