diff options
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 069a8f9176..60bb6c6795 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 } // //===----------------------------------------------------------------------===// |