Teach the constant folder how to handle a few simple i1 cases.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 20 Sep 2009 00:04:02 +0000 (00:04 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 20 Sep 2009 00:04:02 +0000 (00:04 +0000)
commitf4d18827430be9ac3a7a5216be61224146d97f44
tree5eec82fe4292e5562801d58be0180c714fd1afe6
parent970e7dff5ba2bd8c5613c43e3b215ca940a378e9
Teach the constant folder how to handle a few simple i1 cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82340 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
test/Transforms/ConstProp/2009-09-19-ConstFold-i1-ConstExpr.ll [new file with mode: 0644]