Add a DAGCombine for (ext (binop (load x), cst)).
commitc06b5bf34004a9b01048905c8750761146094586
authorNick Lewycky <nicholas@mxc.ca>
Thu, 16 Jun 2011 01:15:49 +0000 (16 01:15 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 16 Jun 2011 01:15:49 +0000 (16 01:15 +0000)
treef390ddf37bec64d00087f8695acc881cc9a1dbaa
parente0b5cfcae88190bd45778e11d20bc676823098a7
Add a DAGCombine for (ext (binop (load x), cst)).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/promote-i16.ll
test/CodeGen/X86/zext-fold.ll [new file with mode: 0644]