1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

remove redundant code

llvm-svn: 24538
This commit is contained in:
Andrew Lenharth 2005-11-30 17:14:11 +00:00
parent 3836ea30ac
commit a758caed46

View File

@ -365,21 +365,9 @@ bool AlphaISel::SelectFPSetCC(SDOperand N, unsigned dst)
//Can only compare doubles, and dag won't promote for me
if (SetCC->getOperand(0).getValueType() == MVT::f32)
{
//assert(0 && "Setcc On float?\n");
std::cerr << "Setcc on float!\n";
Tmp3 = MakeReg(MVT::f64);
BuildMI(BB, Alpha::CVTST, 1, Tmp3).addReg(Tmp1);
Tmp1 = Tmp3;
}
assert(0 && "Setcc On float?\n");
if (SetCC->getOperand(1).getValueType() == MVT::f32)
{
//assert (0 && "Setcc On float?\n");
std::cerr << "Setcc on float!\n";
Tmp3 = MakeReg(MVT::f64);
BuildMI(BB, Alpha::CVTST, 1, Tmp3).addReg(Tmp2);
Tmp2 = Tmp3;
}
assert (0 && "Setcc On float?\n");
if (rev) std::swap(Tmp1, Tmp2);
//do the comparison