[all-commits] [llvm/llvm-project] 954af7: [PGO] Skip optimizing probes that don't fit. (#70875)
Davide Italiano via All-commits
all-commits at lists.llvm.org
Tue Oct 31 21:30:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 954af75cebbdad6de747b1491bd83a204c8b0d6f
https://github.com/llvm/llvm-project/commit/954af75cebbdad6de747b1491bd83a204c8b0d6f
Author: Davide Italiano <dcci at users.noreply.github.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
Log Message:
-----------
[PGO] Skip optimizing probes that don't fit. (#70875)
The discriminator can only pack 16 bits, so anything exceeding that
value will cause the packing code to crash. Emit a diagnostic and skip
the optimization instead.
More information about the All-commits
mailing list