add a todo for something I noticed
authorChris Lattner <sabre@nondot.org>
Sun, 9 Oct 2005 22:59:08 +0000 (22:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Oct 2005 22:59:08 +0000 (22:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23679 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 069a8f9176bf5940e97a67dd49d9412dc4cbbadf..60bb6c6795d1617da78516c31cd0bd3c67b5f3c8 100644 (file)
 // 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 }
 // 
 //===----------------------------------------------------------------------===//