lib/CWriter/Writer.cpp: Copy AsmWriter's ConstantFP checking code here
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 17 Jun 2003 23:55:35 +0000 (23:55 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 17 Jun 2003 23:55:35 +0000 (23:55 +0000)
commitb471a23a8506b7476890ee34a25ffbd1b553f3ff
tree73f64f7db6a638536782801ef26a811dcec7644e
parent4399a4982ab8003a6009583b73a2aa38dedb6420
lib/CWriter/Writer.cpp: Copy AsmWriter's ConstantFP checking code here
into a new function FPCSafeToPrint(), and use it in printConstant()
and printFunction() to decide whether we should output ConstantFPs as
floating-point constants or as references to stack-allocated variables.

lib/VMCore/AsmWriter.cpp: Fix an apparent typo in the code mentioned above.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6762 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp
lib/VMCore/AsmWriter.cpp