[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed Jan 26 23:58:27 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.12 -> 1.13
---
Log message:

Floating point instructions like Floating point registers

---
Diffs of the changes:  (+1 -1)

 AlphaISelPattern.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.12 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.13
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.12	Thu Jan 27 01:50:35 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Thu Jan 27 01:58:15 2005
@@ -333,7 +333,7 @@
     if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(N)) {
       if (CN->isExactlyValue(+0.0) ||
           CN->isExactlyValue(-0.0)) {
-        BuildMI(BB, Alpha::CPYS, 2, Result).addReg(R31).addReg(R31);
+        BuildMI(BB, Alpha::CPYS, 2, Result).addReg(Alpha::F31).addReg(Alpha::F31);
       } else {
         abort();
       }






More information about the llvm-commits mailing list