Enhance constant folding of bitcast operations on vectors of floats.
authorNadav Rotem <nadav.rotem@intel.com>
Thu, 17 Feb 2011 21:22:27 +0000 (21:22 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Thu, 17 Feb 2011 21:22:27 +0000 (21:22 +0000)
commit093399cbf3bcdb31d04b3bf5c5691fc88c25da48
tree641cbddb6bce94eb0f60c344297bee850ab6d18e
parentbd9f6bf5cd5499715e216415989c29f820a7561c
Enhance constant folding of bitcast operations on vectors of floats.
Add getAllOnesValue of FP numbers to Constants and APFloat.
Add more tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125776 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APFloat.h
lib/Support/APFloat.cpp
lib/VMCore/ConstantFold.cpp
lib/VMCore/Constants.cpp
test/Transforms/InstCombine/bitcast-vec-uniform.ll