diff options
author | Piyou Chen <piyou.chen@sifive.com> | 2024-04-15 21:58:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 21:58:57 +0800 |
commit | 32cb3c55080eec70abf282fbe75e6a58cf76f92a (patch) | |
tree | 1f746cefddc811fd8478100f5c23bd9e093fd777 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 105dcc882cf0152baeaa02ac0e50e2527b6940db (diff) | |
download | llvm-32cb3c55080eec70abf282fbe75e6a58cf76f92a.zip llvm-32cb3c55080eec70abf282fbe75e6a58cf76f92a.tar.gz llvm-32cb3c55080eec70abf282fbe75e6a58cf76f92a.tar.bz2 |
[NFC][LLVM][CodeGen] Move LiveDebugVariables.h into llvm/include/llvm/CodeGen (#88374)
This patch make `LiveDebugVariables` can be used by passes outside of
`lib/CodeGen`.
If we run a pass that occurs between the split register allocation pass
without preserving this pass, it will be freed and recomputed until it
encounters the next pass that needs LiveDebugVariables.
However, `LiveDebugVariables` will raise an assertion due to the pass
being freed without emitting a debug value.
This is reason we need `LiveDebugVariables` to be available for passes
outside of lib/Codegen.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions