[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Wed Feb 2 07:05:48 PST 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaISelPattern.cpp updated: 1.27 -> 1.28
---
Log message:
fix loading of floats
---
Diffs of the changes: (+3 -1)
AlphaISelPattern.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.27 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.28
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.27 Tue Feb 1 23:49:42 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp Wed Feb 2 09:05:33 2005
@@ -486,7 +486,9 @@
}
}
- 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) {
More information about the llvm-commits
mailing list