aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorVisoiu Mistrih Francis <890283+francisvm@users.noreply.github.com>2024-02-26 18:25:21 -0800
committerGitHub <noreply@github.com>2024-02-26 18:25:21 -0800
commitb791a51730f145308f3607d0d33038af78138304 (patch)
treec70002bfa07ad92fd45ce77acba75736a56516b3 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentc11627c2f4d550613a3cb360c89a0cf52d2eb720 (diff)
downloadllvm-b791a51730f145308f3607d0d33038af78138304.zip
llvm-b791a51730f145308f3607d0d33038af78138304.tar.gz
llvm-b791a51730f145308f3607d0d33038af78138304.tar.bz2
[CodeGenSchedule] Don't allow invalid ReadAdvances to be formed (#82685)
Forming a `ReadAdvance` with an entry in the `ValidWrites` list that is not used by any instruction results in the entire `ReadAdvance` to be ignored by the scheduler due to an invalid entry. The `SchedRW` collection code only picks up `SchedWrites` that are reachable from `Instructions`, `InstRW`, `ItinRW` and `SchedAlias`, leaving the unreachable ones with an invalid entry (0) in `SubtargetEmitter::GenSchedClassTables` when going through the list of `ReadAdvances`
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions