Add parentheses around an || to correct the logic. Also silences a GCC warning
authorChandler Carruth <chandlerc@gmail.com>
Mon, 12 Jul 2010 06:47:05 +0000 (06:47 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 12 Jul 2010 06:47:05 +0000 (06:47 +0000)
commit490b8f5d64823d998fc12ad3a91ecacd82c1901e
treeb300cd035bf63b4fa2372a8b0830f904915290b4
parent6c507926532d609b1225c29878b37c562e4277f2
Add parentheses around an || to correct the logic. Also silences a GCC warning
that was actually useful here.

Chris, please double check that this is the correct interpretation. I was
pretty sure, and ran it by Nick as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108129 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp