OSDN Git Service

fold (shl x, 1) -> (add x, x)
authorEvan Cheng <evan.cheng@apple.com>
Fri, 6 Jan 2006 01:06:31 +0000 (01:06 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 6 Jan 2006 01:06:31 +0000 (01:06 +0000)
commitda95a84a11e684072ea25fbb9830e769039fd985
tree023a6eed0ee8c3e06bc2eaff95441d072fe9d837
parenta35ef6350defdc09eb912c52603cffa6afbd78e2
fold (shl x, 1) -> (add x, x)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25120 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp