Improve constant folding of undef for binary operators.
authorDan Gohman <gohman@apple.com>
Fri, 1 Jul 2011 00:42:17 +0000 (00:42 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 1 Jul 2011 00:42:17 +0000 (00:42 +0000)
commit30cb6dda5ae441f27edef302cbb33936fbafba6d
tree5dcd699fdb5bb1c806988ebb7e419ccbce56d93b
parentd5dc9eca2beece0faa85e7cbf17182fe7fcd0b36
Improve constant folding of undef for binary operators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134221 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
test/Transforms/InstSimplify/binop.ll [new file with mode: 0644]