Ah the problems you have to fix when you stray from the One True Way (TM)
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 23 Feb 2005 17:33:42 +0000 (17:33 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 23 Feb 2005 17:33:42 +0000 (17:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20290 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelPattern.cpp

index 426c4063668204237680d227a715e2fa20a0c415..11299bd0aec3d9b4f692a9f52962d3a4c5d90942 100644 (file)
@@ -724,8 +724,8 @@ unsigned ISel::SelectExpr(SDOperand N) {
  
   case ISD::DYNAMIC_STACKALLOC:
     // Generate both result values.
-    if (Result != 1)
-      ExprMap[N.getValue(1)] = 1;   // Generate the token
+    if (Result != notIn)
+      ExprMap[N.getValue(1)] = notIn;   // Generate the token
     else
       Result = ExprMap[N.getValue(0)] = MakeReg(N.getValue(0).getValueType());