Frame index can be negative.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102577 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index 9a41a4a..a21bfb9 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -2322,7 +2322,7 @@
 
 MachineInstr*
 X86InstrInfo::emitFrameIndexDebugValue(MachineFunction &MF,
-                                       unsigned FrameIx, uint64_t Offset,
+                                       int FrameIx, uint64_t Offset,
                                        const MDNode *MDPtr,
                                        DebugLoc DL) const {
   X86AddressMode AM;