add a todo for something I noticed
llvm-svn: 23679
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 069a8f9..60bb6c6 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -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 }
//
//===----------------------------------------------------------------------===//