Fix an incorrect logic causing instcombine to miss some _chk -> non-chk transformations.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 23 Mar 2010 06:06:09 +0000 (06:06 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 23 Mar 2010 06:06:09 +0000 (06:06 +0000)
commit9d8f002d8f5a5aba665bb6f85c19eee77810043c
tree6f5d5ae397820bc1afe8fff719029c0f497f4608
parent621f1952430ee8b01b21ac94404e52500d79838b
Fix an incorrect logic causing instcombine to miss some _chk -> non-chk transformations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99263 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/objsize.ll