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)
commit0a29cb045444c13160e90fe7942a9d7c720185ed
treea52b128abcdecbe22becedeaa028b36217e450a2
parentdc89ed7da30e882cfdb74968b2a7613e37570409
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173138 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
include/llvm/ADT/APFloat.h
include/llvm/CodeGen/SelectionDAG.h
include/llvm/IR/Type.h
lib/Analysis/ConstantFolding.cpp
lib/AsmParser/LLLexer.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/ExecutionEngine/ExecutionEngine.cpp
lib/ExecutionEngine/JIT/JIT.cpp
lib/IR/ConstantFold.cpp
lib/IR/Constants.cpp
lib/Support/APFloat.cpp
lib/Target/X86/X86ISelLowering.cpp