diff --git a/lib/Target/EVM/EVMRegisterInfo.cpp b/lib/Target/EVM/EVMRegisterInfo.cpp index 11f4f6bac3f16..3dccdd49e9c54 100644 --- a/lib/Target/EVM/EVMRegisterInfo.cpp +++ b/lib/Target/EVM/EVMRegisterInfo.cpp @@ -82,7 +82,7 @@ void EVMRegisterInfo::eliminateFrameIndex( int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); Register FrameReg = getFrameRegister(MF); - int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex) * 32; + int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex); unsigned fiReg = FrameReg; if (Offset != 0) {