[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp

Nate Begeman natebegeman at mac.com
Wed Jan 11 13:21:18 PST 2006



Changes in directory llvm/lib/Target/IA64:

IA64ISelLowering.cpp updated: 1.15 -> 1.16
---
Log message:

Add bswap, rotl, and rotr nodes
Add dag combiner code to recognize rotl, rotr
Add ppc code to match rotl

Targets should add rotl/rotr patterns if they have them


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

 IA64ISelLowering.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.15 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.16
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.15	Tue Jan 10 13:45:18 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp	Wed Jan 11 15:21:00 2006
@@ -80,6 +80,8 @@
       //IA64 has these, but they are not implemented
       setOperationAction(ISD::CTTZ , MVT::i64  , Expand);
       setOperationAction(ISD::CTLZ , MVT::i64  , Expand);
+      setOperationAction(ISD::ROTL , MVT::i64  , Expand);
+      setOperationAction(ISD::ROTR , MVT::i64  , Expand);
 
       computeRegisterProperties();
 






More information about the llvm-commits mailing list