Fix call_adj.ll
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 17 May 2006 19:24:49 +0000 (19:24 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 17 May 2006 19:24:49 +0000 (19:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28360 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaRegisterInfo.cpp

index 55a98aa69e0fadaa6a74b12440fe20a349b7d3cf..4ae8761fecb9bed6fa8c6eacfc7c2b4a8259d505 100644 (file)
@@ -166,7 +166,7 @@ eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
     // 'sub ESP, <amt>' and the adjcallstackdown instruction into 'add ESP,
     // <amt>'
     MachineInstr *Old = I;
-    unsigned Amount = Old->getOperand(0).getImmedValue();
+    uint64_t Amount = Old->getOperand(0).getImmedValue();
     if (Amount != 0) {
       // We need to keep the stack aligned properly.  To do this, we round the
       // amount of space needed for the outgoing arguments up to the next