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:
ab79137
)
fix loading of floats
author
Andrew Lenharth
<andrewl@lenharth.org>
Wed, 2 Feb 2005 15:05:33 +0000
(15:05 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Wed, 2 Feb 2005 15:05:33 +0000
(15:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19997
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 b641d19ac3ae81d03619ab09069389b6b80851bc..a3570bc8152280ae3fcd5360d58155a2901fc4ce 100644
(file)
--- a/
lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/
lib/Target/Alpha/AlphaISelPattern.cpp
@@
-486,7
+486,9
@@
unsigned ISel::SelectExpr(SDOperand N) {
}
}
- if (DestType == MVT::f64 || DestType == MVT::f32)
+ if (DestType == MVT::f64 || DestType == MVT::f32 ||
+ (opcode == ISD::LOAD &&
+ (N.getValue(0).getValueType() == MVT::f32 || N.getValue(0).getValueType() == MVT::f64)))
return SelectExprFP(N, Result);
switch (opcode) {