Squish warning
[oota-llvm.git] / lib / Target / SparcV9 / SparcV9InstrSelection.cpp
index 25c5fdee1a287941b2d6f83c6bca1e67498ef4b8..c7bcdcaea1b0d7c65f03928f7c4795bb47a8182c 100644 (file)
@@ -2006,7 +2006,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
       {
         maskUnsignedResult = true;
         MachineOpCode forceOp = ((checkCast && BothFloatToDouble(subtreeRoot))
-                                 ? V9::FSMULD
+                                 ? (MachineOpCode)V9::FSMULD
                                  : INVALID_MACHINE_OPCODE);
         Instruction* mulInstr = subtreeRoot->getInstruction();
         CreateMulInstruction(target, mulInstr->getParent()->getParent(),
@@ -2024,7 +2024,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
       {
         maskUnsignedResult = true;
         MachineOpCode forceOp = ((checkCast && BothFloatToDouble(subtreeRoot))
-                                 ? V9::FSMULD
+                                 ? (MachineOpCode)V9::FSMULD
                                  : INVALID_MACHINE_OPCODE);
         Instruction* mulInstr = subtreeRoot->getInstruction();
         CreateMulInstruction(target, mulInstr->getParent()->getParent(),