projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272455b
)
fix Load bug
author
Andrew Lenharth
<andrewl@lenharth.org>
Wed, 2 Feb 2005 04:35:44 +0000
(
04:35
+0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Wed, 2 Feb 2005 04:35:44 +0000
(
04:35
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19987
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaISelPattern.cpp
b/lib/Target/Alpha/AlphaISelPattern.cpp
index 344117dd80a86be8e1bf135d0c0d6a0d8418f76c..752be14c37655d38e6d3075c4a087d74cf86d7fa 100644
(file)
--- 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)
{