diff options
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelPattern.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index 344117dd80..752be14c37 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -1046,7 +1046,7 @@ unsigned ISel::SelectExpr(SDOperand N) { SDOperand Chain = N.getOperand(0); SDOperand Address = N.getOperand(1); - assert(DestType == MVT::i64 && "unknown Load dest type"); + assert(N.getValue(0).getValueType() == MVT::i64 && "unknown Load dest type"); if (Address.getOpcode() == ISD::GlobalAddress) { |