[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp PPC64ISelPattern.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed May 4 12:25:56 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC32ISelPattern.cpp updated: 1.81 -> 1.82
PPC64ISelPattern.cpp updated: 1.13 -> 1.14
---
Log message:

fix typo

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

 PPC32ISelPattern.cpp |    2 +-
 PPC64ISelPattern.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.81 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.82
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.81	Tue May  3 12:19:29 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp	Wed May  4 14:25:37 2005
@@ -72,7 +72,7 @@
       //PowerPC has these, but they are not implemented
       setOperationAction(ISD::CTPOP, MVT::i32  , Expand);
       setOperationAction(ISD::CTTZ , MVT::i32  , Expand);
-      setOperationAction(ISD::CTTZ , MVT::i32  , Expand);
+      setOperationAction(ISD::CTLZ , MVT::i32  , Expand);
 
       setSetCCResultContents(ZeroOrOneSetCCResult);
       addLegalFPImmediate(+0.0); // Necessary for FSEL


Index: llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.13 llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.14
--- llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.13	Tue May  3 12:19:29 2005
+++ llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp	Wed May  4 14:25:37 2005
@@ -71,7 +71,7 @@
       // PowerPC has these, but they are not implemented
       setOperationAction(ISD::CTPOP, MVT::i64, Expand);
       setOperationAction(ISD::CTTZ , MVT::i64, Expand);
-      setOperationAction(ISD::CTTZ , MVT::i64, Expand);
+      setOperationAction(ISD::CTLZ , MVT::i64, Expand);
 
       setShiftAmountFlavor(Extend);   // shl X, 32 == 0
       addLegalFPImmediate(+0.0); // Necessary for FSEL






More information about the llvm-commits mailing list