[all-commits] [llvm/llvm-project] 4bc359: [MachinePipeliner] Fix use-after-free coping value...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Fri Mar 7 11:10:19 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4bc3592bd2cb5fae6dfb5b3958727bae4115a800
https://github.com/llvm/llvm-project/commit/4bc3592bd2cb5fae6dfb5b3958727bae4115a800
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
M llvm/lib/CodeGen/ModuloSchedule.cpp
Log Message:
-----------
[MachinePipeliner] Fix use-after-free coping values of the same DenseMap (#130311)
After #130165.
In the code: `VRMap[CurStageNum][Def] = VRMap[CurStageNum][LoopVal]`
`VRMap[CurStageNum][LoopVal]` calculates a reference before
`VRMap[CurStageNum][Def]` which may rehash the DenseMap.
Then the reference can be dead.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list