[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
Nate Begeman
natebegeman at mac.com
Wed Jan 11 13:21:16 PST 2006
Changes in directory llvm/lib/Target/SparcV8:
SparcV8ISelDAGToDAG.cpp updated: 1.44 -> 1.45
---
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)
SparcV8ISelDAGToDAG.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.44 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.45
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.44 Wed Jan 11 13:52:46 2006
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp Wed Jan 11 15:21:00 2006
@@ -146,6 +146,8 @@
setOperationAction(ISD::CTPOP, MVT::i32, Expand);
setOperationAction(ISD::CTTZ , MVT::i32, Expand);
setOperationAction(ISD::CTLZ , MVT::i32, Expand);
+ setOperationAction(ISD::ROTL , MVT::i32, Expand);
+ setOperationAction(ISD::ROTR , MVT::i32, Expand);
setOperationAction(ISD::SHL_PARTS, MVT::i32, Expand);
setOperationAction(ISD::SRA_PARTS, MVT::i32, Expand);
More information about the llvm-commits
mailing list