projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee899e6
)
add a todo for something I noticed
author
Chris Lattner
<sabre@nondot.org>
Sun, 9 Oct 2005 22:59:08 +0000
(22:59 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 069a8f9176bf5940e97a67dd49d9412dc4cbbadf..60bb6c6795d1617da78516c31cd0bd3c67b5f3c8 100644
(file)
--- 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 }
//
//===----------------------------------------------------------------------===//