diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-11-30 17:14:11 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-11-30 17:14:11 +0000 |
commit | 72d32c222c522e7e176e273c794aa81972b205e0 (patch) | |
tree | d6c29555f37902467d2f9cf53f0d280875d1e671 /lib/Target/Alpha/AlphaISelPattern.cpp | |
parent | ae35575957a3ab446e2766aa05d03020ced27d14 (diff) |
remove redundant code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelPattern.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index a5cc3ac737..5423393be7 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -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 |