Instruction::isAssociative() returns true for fmul/fadd if they are tagged "unsafe...
authorShuxin Yang <shuxin.llvm@gmail.com>
Thu, 29 Nov 2012 01:47:31 +0000 (01:47 +0000)
committerShuxin Yang <shuxin.llvm@gmail.com>
Thu, 29 Nov 2012 01:47:31 +0000 (01:47 +0000)
commit9b7f6f2de89a321f7eae5e942c8668cb50acfd1d
tree3f34a5f5d5e79b5f79237baf71ae60f7037d538c
parent89bea17af235ea3a69485e73e54e71053c1bd936
Instruction::isAssociative() returns true for fmul/fadd if they are tagged "unsafe" mode.

Approved by: Eli and Michael.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168848 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instruction.h
lib/VMCore/Instruction.cpp
test/Transforms/InstCombine/fast-math.ll [new file with mode: 0644]