diff options
Diffstat (limited to 'llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 3a85dbe70cb..508c0b6e5e0 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -472,8 +472,8 @@ FixConstantOperandsForInstr(Instruction* vmInstr,              {                constantThatMustBeLoaded = true;                opValue = isSigned -                ? ConstantSInt::get(Type::LongTy, immedValue) -                : ConstantUInt::get(Type::ULongTy, (uint64_t) immedValue); +                ? (Value*)ConstantSInt::get(Type::LongTy, immedValue) +                : (Value*)ConstantUInt::get(Type::ULongTy,(uint64_t)immedValue);              }          } | 

