Drop the limitation to IEEE floating point types from the fdiv of pow2 -> fmul transform.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 8 Nov 2012 13:58:10 +0000 (13:58 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 8 Nov 2012 13:58:10 +0000 (13:58 +0000)
commit08be41adbf6a3671a9ae1fe2927481609121e18f
tree105a8552f3920619b0e1e8c262248f88e0300129
parent9b836fb019bb82970464f4e14b36a6e51dbdc7dd
Drop the limitation to IEEE floating point types from the fdiv of pow2 -> fmul transform.

This is safe for x87 long doubles and ppc double doubles too.

llvm-svn: 167582
llvm/lib/Support/APFloat.cpp
llvm/unittests/ADT/APFloatTest.cpp