The checking is done deeper inside MachineBasicBlock, but this will hopefully help to find issues when porting the machine outliner to a target where Liveness tracking is broken (like ARM) .
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/CodeGen/MachineOutliner.h | ||
---|---|---|
145 | Can you add a message to the assert like "Candidate's MF must track liveness"? It's a bit nicer to have some context with asserts in my experience. |
include/llvm/CodeGen/MachineOutliner.h | ||
---|---|---|
145 | Yes I hesitated to add one, but you're right it'd be more helpfull |
Can you add a message to the assert like "Candidate's MF must track liveness"? It's a bit nicer to have some context with asserts in my experience.