[llvm-commits] [llvm-gcc-4.2] r41937 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Bill Wendling
isanbard at gmail.com
Thu Sep 13 17:28:04 PDT 2007
Author: void
Date: Thu Sep 13 19:28:04 2007
New Revision: 41937
URL: http://llvm.org/viewvc/llvm-project?rev=41937&view=rev
Log:
APFloat uses "exlicit" now.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp?rev=41937&r1=41936&r2=41937&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp Thu Sep 13 19:28:04 2007
@@ -376,7 +376,7 @@
return true;
case IX86_BUILTIN_LOADQ: {
PointerType *f64Ptr = PointerType::get(Type::DoubleTy);
- Value *Zero = ConstantFP::get(Type::DoubleTy, 0.0);
+ Value *Zero = ConstantFP::get(Type::DoubleTy, APFloat(0.0));
Ops[0] = Builder.CreateBitCast(Ops[0], f64Ptr, "tmp");
Ops[0] = Builder.CreateLoad(Ops[0], "tmp");
Result = BuildVector(Ops[0], Zero, NULL);
More information about the llvm-commits
mailing list