aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelPattern.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-02-23 17:33:42 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-02-23 17:33:42 +0000
commit3a7118d7daaf53783686fcf350dbfdaee5abd6c9 (patch)
treef973c0caba545432c15d76fadec76317611897b5 /lib/Target/Alpha/AlphaISelPattern.cpp
parent1f21ef1511ce003fc177121b980e783b83992f82 (diff)
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
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelPattern.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp
index 426c406366..11299bd0ae 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());