oops, I was sure this had already gond though the nightly tester
authorAndrew Lenharth <andrewl@lenharth.org>
Sat, 12 Feb 2005 20:42:09 +0000 (20:42 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Sat, 12 Feb 2005 20:42:09 +0000 (20:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20141 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelPattern.cpp

index 912bb69d1e9918d2bfe49b8e29522b63960d0283..49e9b54e3d83c7c2270a9db71efe4cf597fda267 100644 (file)
@@ -959,7 +959,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
       case MVT::i1:
         Tmp2 = MakeReg(MVT::i64);
         BuildMI(BB, Alpha::ANDi, 2, Tmp2).addReg(Tmp1).addImm(1);
-        BuildMI(BB, Alpha::SUB, 2, Result).addReg(Alpha::F31).addReg(Tmp2);
+        BuildMI(BB, Alpha::SUBQ, 2, Result).addReg(Alpha::F31).addReg(Tmp2);
         break;
       }
       return Result;