Evan pointed out that folding sext to zext may not be correct
authorDan Gohman <gohman@apple.com>
Mon, 28 Apr 2008 18:47:17 +0000 (18:47 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 28 Apr 2008 18:47:17 +0000 (18:47 +0000)
commit187db7b950e57e2f1f10b57e7ee2a7f38e8965c0
tree0b398091f5d11a6465ea8db71d647a7d6896b182
parentebc3a3a3b2adb3bf5a1dae0c0e6572be79375efd
Evan pointed out that folding sext to zext may not be correct
if the zext is not legal.

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