Teach DAGCombine to convert (sext x) to (zext x) when the
authorDan Gohman <gohman@apple.com>
Mon, 28 Apr 2008 16:58:24 +0000 (16:58 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 28 Apr 2008 16:58:24 +0000 (16:58 +0000)
commit8f0ad582e81e24f2ab35f9e9d2308339c8e8cbeb
tree0ce6f47a7471f58f537749c16168b76f2dfb2731
parentbeb4d8293d5311c4581fd3d914f865e358af53a5
Teach DAGCombine to convert (sext x) to (zext x) when the
sign-bit of x is known to be zero.

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