[InstCombine] Fix an assertion when fmul has a ConstantExpr operand
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Thu, 5 Mar 2015 08:38:57 +0000 (08:38 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Thu, 5 Mar 2015 08:38:57 +0000 (08:38 +0000)
commit2d8a36ee711989c911659e4697a4910f7396ed44
tree1caf0341e5ce1784693ef6a59d60308a9aae9326
parentbc55462859711bd81a38fc50203c2b696e10e092
[InstCombine] Fix an assertion when fmul has a ConstantExpr operand

isNormalFp and isFiniteNonZeroFp should not assume vector operands can not be constant expressions.

Patch by Pawel Jurek <pawel.jurek@intel.com>
Differential Revision: http://reviews.llvm.org/D8053

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231359 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
test/Transforms/InstCombine/fast-math.ll