diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-30 14:19:13 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-30 14:19:13 +0000 |
commit | 50d91d71a51a2370bbe7e727bec180cfadab9cfc (patch) | |
tree | e53debde8a0cfc60dd58838c2dc81f13083bfa2f | |
parent | b1beff0f0d5422d6e7a26a92b691a75367a352fe (diff) |
I was sure I had thought about this and there was a reason it should work.
But it is entirely possible I am just crazy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21640 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Alpha/AlphaISelPattern.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index 819d94fa77..574f8644ee 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -1199,13 +1199,14 @@ unsigned ISel::SelectExpr(SDOperand N) { } } - if (DestType == MVT::f64 || DestType == MVT::f32 || - ( - (opcode == ISD::LOAD || opcode == ISD::CopyFromReg || - opcode == ISD::EXTLOAD) && - (N.getValue(0).getValueType() == MVT::f32 || - N.getValue(0).getValueType() == MVT::f64) - ) + if ((DestType == MVT::f64 || DestType == MVT::f32 || + ( + (opcode == ISD::LOAD || opcode == ISD::CopyFromReg || + opcode == ISD::EXTLOAD) && + (N.getValue(0).getValueType() == MVT::f32 || + N.getValue(0).getValueType() == MVT::f64) + )) + && opcode != ISD::CALL ) return SelectExprFP(N, Result); |