File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -843,15 +843,17 @@ class LLVM_LIBRARY_VISIBILITY UEFIX86_64TargetInfo
843843
844844 // Set C++ ABI.
845845 this ->TheCXXABI .set (TargetCXXABI::Microsoft);
846- // Set Integer types and alignment.
846+ LongWidth = LongAlign = 32 ;
847+ DoubleAlign = LongLongAlign = 64 ;
848+ LongDoubleWidth = LongDoubleAlign = 64 ;
849+ LongDoubleFormat = &llvm::APFloat::IEEEdouble ();
847850 IntMaxType = SignedLongLong;
848851 Int64Type = SignedLongLong;
849852 SizeType = UnsignedLongLong;
850853 PtrDiffType = SignedLongLong;
851854 IntPtrType = SignedLongLong;
852855 WCharType = UnsignedShort;
853856 WIntType = UnsignedShort;
854- LongWidth = LongAlign = 32 ;
855857
856858 this ->resetDataLayout (" e-m:w-p270:32:32-p271:32:32-p272:64:64-"
857859 " i64:64-i128:128-f80:128-n8:16:32:64-S128" );
You can’t perform that action at this time.
0 commit comments