sext(undef) = 0, because the top bits will all be the same.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 15 Mar 2011 02:22:10 +0000 (02:22 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 15 Mar 2011 02:22:10 +0000 (02:22 +0000)
commitbf34a5ec22389a852f25337eb767e5ad742e6142
tree9ac729af529c97791e7a3e82131ecdc2e52a91fb
parent49c69bb70f4c62d97c02e71c25fd615d67104ff4
sext(undef) = 0, because the top bits will all be the same.
zext(undef) = 0, because the top bits will be zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127649 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/machine-cse.ll