Otherwise stale pointers pollute the cache and
when a dead PHI's memory is reused for another PHI, we can get a false positive hit in the cache.
Details
Details
- Reviewers
arsenm - Commits
- rGb7503ae8a07e: [AMDGPU] Clear BreakPhiNodesCache in-between functions
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp | ||
---|---|---|
322 | Probably should do this on the exit. OldPM at least had a dedicated callbck for this |
Probably should do this on the exit. OldPM at least had a dedicated callbck for this