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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Mon Jul 4 13:07:32 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.145 -> 1.146
---
Log message:

check the correct VT

---
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.145 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.146
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.145	Sun Jul  3 15:06:13 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Mon Jul  4 15:07:21 2005
@@ -1642,7 +1642,7 @@
       Select(Chain);
       unsigned r = dyn_cast<RegSDNode>(Node)->getReg();
       //std::cerr << "CopyFromReg " << Result << " = " << r << "\n";
-      if (isFP)
+      if (MVT::isFloatingPoint(N.getValue(0).getValueType()))
         BuildMI(BB, Alpha::CPYS, 2, Result).addReg(r).addReg(r);
       else
         BuildMI(BB, Alpha::BIS, 2, Result).addReg(r).addReg(r);






More information about the llvm-commits mailing list