diff options
| author | Andrew Trick <atrick@apple.com> | 2012-02-21 04:51:23 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2012-02-21 04:51:23 +0000 |
| commit | da84e6468304500dc65813aee8728bee18ac6578 (patch) | |
| tree | 82aa6ab0593f8013f860f9141b97bafadbc89db4 /lldb/source/API/SBValue.cpp | |
| parent | 5c714e79859116672383af512efc032dc1cb5ca7 (diff) | |
| download | bcm5719-llvm-da84e6468304500dc65813aee8728bee18ac6578.tar.gz bcm5719-llvm-da84e6468304500dc65813aee8728bee18ac6578.zip | |
Clear virtual registers after they are no longer referenced.
Passes after RegAlloc should be able to rely on MRI->getNumVirtRegs() == 0.
This makes sharing code for pre/postRA passes more robust.
Now, to check if a pass is running before the RA pipeline begins, use MRI->isSSA().
To check if a pass is running after the RA pipeline ends, use !MRI->getNumVirtRegs().
PEI resets virtual regs when it's done scavenging.
PTX will either have to provide its own PEI pass or assign physregs.
llvm-svn: 151032
Diffstat (limited to 'lldb/source/API/SBValue.cpp')
0 files changed, 0 insertions, 0 deletions

