[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 9 15:59:19 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.23 -> 1.24
---
Log message:
add a todo for something I noticed
---
Diffs of the changes: (+4 -0)
DAGCombiner.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.23 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.24
--- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.23 Sun Oct 9 17:12:36 2005
+++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Sun Oct 9 17:59:08 2005
@@ -40,6 +40,10 @@
// FIXME: divide by zero is currently left unfolded. do we want to turn this
// into an undef?
// FIXME: select ne (select cc, 1, 0), 0, true, false -> select cc, true, false
+// FIXME: sext_inreg(SRL) -> SRA:
+// int %simple(uint %X) { %tmp.4 = shr uint %X, ubyte 16
+// %tmp.5 = cast uint %tmp.4 to short %tmp.6 = cast short %tmp.5 to int
+// ret int %tmp.6 }
//
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list