summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-13 16:14:50 +0000
committerChris Lattner <sabre@nondot.org>2004-02-13 16:14:50 +0000
commitcbf0667743234146a51b76c815fe9af33582daaa (patch)
tree20b8700e0c4f56093256cecf525997f4d9862bbc /llvm/lib/Target/Sparc
parent9761271f0f88a3f9509e4e7c607daac70dba1e87 (diff)
downloadbcm5719-llvm-cbf0667743234146a51b76c815fe9af33582daaa.tar.gz
bcm5719-llvm-cbf0667743234146a51b76c815fe9af33582daaa.zip
Squish warning
llvm-svn: 11375
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/SparcInstrSelection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
index 25c5fdee1a2..c7bcdcaea1b 100644
--- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
+++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
@@ -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(),
OpenPOWER on IntegriCloud