[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
Nate Begeman
natebegeman at mac.com
Wed Jan 11 13:21:17 PST 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaISelLowering.cpp updated: 1.18 -> 1.19
---
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)
AlphaISelLowering.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.18 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.19
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.18 Wed Jan 4 19:47:43 2006
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Wed Jan 11 15:21:00 2006
@@ -81,6 +81,8 @@
setOperationAction(ISD::CTTZ , MVT::i64 , Expand);
setOperationAction(ISD::CTLZ , MVT::i64 , Expand);
}
+ setOperationAction(ISD::ROTL , MVT::i64, Expand);
+ setOperationAction(ISD::ROTR , MVT::i64, Expand);
setOperationAction(ISD::SREM , MVT::i64, Custom);
setOperationAction(ISD::UREM , MVT::i64, Custom);
More information about the llvm-commits
mailing list