Although probably not necessary, guard against a potential assertion by
authorReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 21:54:37 +0000 (21:54 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 21:54:37 +0000 (21:54 +0000)
commita3507ebd33e957ff026dcbcc6675300ddab98255
treede8fc03d28cdbf72f2f40cdd80cbf977d23021fb
parent4da0451821732e20d132e612ba8852a1c6498fab
Although probably not necessary, guard against a potential assertion by
using isNullValue() instead of getZExtValue() == 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34815 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CondPropagate.cpp