fix most regressions
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 29 Jun 2005 12:23:34 +0000 (12:23 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 29 Jun 2005 12:23:34 +0000 (12:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22307 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelPattern.cpp

index eef0d8410dd645b5e720aa0c361db7b8460c5516..b4e94936bdaa47d098dabd2e1e5744be77f96037 100644 (file)
@@ -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) {