mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 16:35:10 +00:00
Only call verifySavedState if SaveRegAllocState is set AND debugging flag is on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c62728018
commit
14068d9f97
@ -1355,10 +1355,11 @@ bool PhyRegAlloc::runOnFunction (Function &F) {
|
||||
colorIncomingArgs();
|
||||
|
||||
// Save register allocation state for this function in a Constant.
|
||||
if (SaveRegAllocState)
|
||||
if (SaveRegAllocState) {
|
||||
saveState();
|
||||
if (DEBUG_RA) { // Check our work.
|
||||
verifySavedState ();
|
||||
if (DEBUG_RA) { // Check our work.
|
||||
verifySavedState ();
|
||||
}
|
||||
}
|
||||
|
||||
// Now update the machine code with register names and add any additional
|
||||
|
Loading…
x
Reference in New Issue
Block a user