diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-10-27 23:29:28 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-10-27 23:29:28 +0000 |
commit | e67ad47a005a4418984752c0ee2e23c45e4898a6 (patch) | |
tree | d314ac18be68ac3a707643cc836a6e201f5e08dd | |
parent | aebd9e01d7fdec893fbf2c11465ab1d012ed3359 (diff) | |
download | bcm5719-llvm-e67ad47a005a4418984752c0ee2e23c45e4898a6.tar.gz bcm5719-llvm-e67ad47a005a4418984752c0ee2e23c45e4898a6.zip |
Silence a bogus compile time warning.
llvm-svn: 58297
-rw-r--r-- | llvm/lib/CodeGen/PreAllocSplitting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PreAllocSplitting.cpp b/llvm/lib/CodeGen/PreAllocSplitting.cpp index 09694403e3f..f3a3ac30dd1 100644 --- a/llvm/lib/CodeGen/PreAllocSplitting.cpp +++ b/llvm/lib/CodeGen/PreAllocSplitting.cpp @@ -543,9 +543,9 @@ bool PreAllocSplitting::SplitRegLiveInterval(LiveInterval *LI) { // Add a spill either before the barrier or after the definition. MachineBasicBlock *DefMBB = DefMI ? DefMI->getParent() : NULL; const TargetRegisterClass *RC = MRI->getRegClass(CurrLI->reg); - int SS; unsigned SpillIndex = 0; MachineInstr *SpillMI = NULL; + int SS = -1; bool PrevSpilled = isAlreadySplit(CurrLI->reg, ValNo->id, SS); if (ValNo->def == ~0U) { // If it's defined by a phi, we must split just before the barrier. |