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 | 7ffe3affda5f8c2590243f80627b57fad895fb6f (patch) | |
tree | 38ad8ef34618dfb327992e7ce87a79a60668f9e7 /llvm/lib/Target/Alpha/AlphaISelPattern.cpp | |
parent | 6ee8566cae6c55e3c42da9d58af2994cc42ef96a (diff) | |
download | bcm5719-llvm-7ffe3affda5f8c2590243f80627b57fad895fb6f.tar.gz bcm5719-llvm-7ffe3affda5f8c2590243f80627b57fad895fb6f.zip |
remove redundant code
llvm-svn: 24538
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelPattern.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp b/llvm/lib/Target/Alpha/AlphaISelPattern.cpp index a5cc3ac7372..5423393be7d 100644 --- a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/llvm/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 |