diff options
author | Kazu Hirata <kazu@google.com> | 2024-06-14 15:48:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 15:48:06 -0700 |
commit | 8f7d30abb243d5383171861bd5ee443d95b2a338 (patch) | |
tree | 9c973c7c5243ced8f9f701f3208e36bf8eb7aa76 /libc | |
parent | 76b64aeb88925ec7eea43a388f937bc4f248ef87 (diff) | |
download | llvm-8f7d30abb243d5383171861bd5ee443d95b2a338.zip llvm-8f7d30abb243d5383171861bd5ee443d95b2a338.tar.gz llvm-8f7d30abb243d5383171861bd5ee443d95b2a338.tar.bz2 |
[ProfileData] Sink the length checks (#95604)
The new API getValueArrayForSite returns ArrayRef<InstrProfValueData>,
packaging the array length and contents together.
This patch sinks the array length checks just before we check the
contents. This way, we check both the array length and contents
immediately after calling getValueArrayForSite.
Diffstat (limited to 'libc')
0 files changed, 0 insertions, 0 deletions