aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-09 22:59:08 +0000
committerChris Lattner <sabre@nondot.org>2005-10-09 22:59:08 +0000
commita19cea061e661277489655f5d0777360fb9fe736 (patch)
treeb204747657d242fc050e5210e0c8930cb0e1b77d /lib/CodeGen
parentee899e6bfc854adefdbfd6631e206d18fd43ab81 (diff)
add a todo for something I noticed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp4
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 }
//
//===----------------------------------------------------------------------===//