Fix another infinite loop in Reassociate caused by Constant::isZero().
authorOwen Anderson <resistor@mac.com>
Fri, 20 Nov 2015 22:34:48 +0000 (22:34 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 20 Nov 2015 22:34:48 +0000 (22:34 +0000)
commit108258ac78a89752379b431b54395298ac2ce84a
treed88e5afe65eabf871674f69a8a22a6a70d5ca394
parent2d2aadfa70bf12d899f0b78b125ac1a6b2a53965
Fix another infinite loop in Reassociate caused by Constant::isZero().

Not all zero vectors are ConstantDataVector's.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253723 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Constants.cpp
test/Transforms/Reassociate/fp-expr.ll