Page MenuHomePhabricator

VirtRegMap: Preserve LiveDebugVariables
Needs ReviewPublic

Authored by arsenm on Dec 5 2018, 9:06 AM.

Details

Reviewers
MatzeB
qcolombet
Summary

This avoids recomputing it between regalloc runs.

Diff Detail

Event Timeline

arsenm created this revision.Dec 5 2018, 9:06 AM
qcolombet added inline comments.Feb 25 2019, 8:35 AM
lib/CodeGen/VirtRegMap.cpp
274

DebugVars may be nullptr IIRC what getAnalysisIfAvailable API does.

Make sure to test for it.