OSDN Git Service

Remove redundant condition (PR28352) NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Nov 2016 12:00:46 +0000 (12:00 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Nov 2016 12:00:46 +0000 (12:00 +0000)
commit7ff5cb157f8667290a51b3f4e16368b67b696f0e
tree5e8bca2fbbf198a4d1d4ffab6547c29da052ad3d
parenta52fb282daed4f2217ce55d40bf8028002a1041a
Remove redundant condition (PR28352) NFCI.

We were already testing is the op was not a leaf, so need to then test if it was a leaf (added it to the assert instead).

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