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 | 537332eba80d011014cb6d9d5e2b290fd0c8221a (patch) | |
| tree | 2f50a99e1cdc6ca91967c9c937d2abe4ea46b826 /llvm | |
| parent | d7e534b2b39baf779977acaed115960c7721ba63 (diff) | |
| download | bcm5719-llvm-537332eba80d011014cb6d9d5e2b290fd0c8221a.tar.gz bcm5719-llvm-537332eba80d011014cb6d9d5e2b290fd0c8221a.zip | |
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.
llvm-svn: 21640
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelPattern.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp b/llvm/lib/Target/Alpha/AlphaISelPattern.cpp index 819d94fa776..574f8644eeb 100644 --- a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/llvm/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); |

