From: Chris Lattner Date: Sun, 9 Oct 2005 22:59:08 +0000 (+0000) Subject: add a todo for something I noticed X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a19cea061e661277489655f5d0777360fb9fe736;p=oota-llvm.git add a todo for something I noticed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23679 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 069a8f9176b..60bb6c6795d 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/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 } // //===----------------------------------------------------------------------===//