Make APFloat constructor require explicit semantics.
authorTim Northover <Tim.Northover@arm.com>
Tue, 22 Jan 2013 09:46:31 +0000 (09:46 +0000)
committerTim Northover <Tim.Northover@arm.com>
Tue, 22 Jan 2013 09:46:31 +0000 (09:46 +0000)
commit29178a348a719c4c4e14939dcc02218bcd5341d9
tree01778be07ddb8b749cbb3275700c21293d107d51
parent015333f88c21673a8d8958242ef24920dd0506a9
Make APFloat constructor require explicit semantics.

Previously we tried to infer it from the bit width size, with an added
IsIEEE argument for the PPC/IEEE 128-bit case, which had a default
value. This default value allowed bugs to creep in, where it was
inappropriate.

llvm-svn: 173138
17 files changed:
llvm/include/llvm/ADT/APFloat.h
llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/include/llvm/IR/Type.h
llvm/lib/Analysis/ConstantFolding.cpp
llvm/lib/AsmParser/LLLexer.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/ExecutionEngine/ExecutionEngine.cpp
llvm/lib/ExecutionEngine/JIT/JIT.cpp
llvm/lib/IR/ConstantFold.cpp
llvm/lib/IR/Constants.cpp
llvm/lib/Support/APFloat.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp