aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelPattern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelPattern.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp
index eef0d8410d..b4e94936bd 100644
--- a/lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/lib/Target/Alpha/AlphaISelPattern.cpp
@@ -1289,7 +1289,8 @@ unsigned AlphaISel::SelectExpr(SDOperand N) {
}
if ((DestType == MVT::f64 || DestType == MVT::f32)
- && opcode != ISD::CALL && opcode != ISD::TAILCALL)
+ && opcode != ISD::CALL && opcode != ISD::TAILCALL
+ && opcode != ISD::CopyFromReg && opcode != ISD::LOAD)
return SelectExprFP(N, Result);
switch (opcode) {