From: Andrew Lenharth Date: Wed, 23 Feb 2005 17:33:42 +0000 (+0000) Subject: Ah the problems you have to fix when you stray from the One True Way (TM) X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3a7118d7daaf53783686fcf350dbfdaee5abd6c9;p=oota-llvm.git Ah the problems you have to fix when you stray from the One True Way (TM) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20290 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index 426c4063668..11299bd0aec 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -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());