[lld] 0f499d1 - Revert "[X86][LLD] Update datelayout in LLD tests. NFCI"

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 14 18:55:06 PST 2022


Author: Phoebe Wang
Date: 2022-01-15T10:54:37+08:00
New Revision: 0f499d1ed4a170501630d8118b4b396b07493c14

URL: https://github.com/llvm/llvm-project/commit/0f499d1ed4a170501630d8118b4b396b07493c14
DIFF: https://github.com/llvm/llvm-project/commit/0f499d1ed4a170501630d8118b4b396b07493c14.diff

LOG: Revert "[X86][LLD] Update datelayout in LLD tests. NFCI"

This reverts commit 9b43237128da0a7a3bc8a16f6f2c0897b9e842be.

Added: 
    

Modified: 
    lld/test/COFF/libcall-archive.ll
    lld/test/COFF/lto-lazy-reference.ll
    lld/test/COFF/lto-reloc-model.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/COFF/libcall-archive.ll b/lld/test/COFF/libcall-archive.ll
index a226ad1068758..c78c1d41fde8f 100644
--- a/lld/test/COFF/libcall-archive.ll
+++ b/lld/test/COFF/libcall-archive.ll
@@ -10,7 +10,7 @@
 ; CHECK: _start
 ; CHECK: _memcpy
 
-target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32-a:0:32-S32"
+target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:32-n8:16:32-a:0:32-S32"
 target triple = "i686-unknown-windows"
 
 define void @start(i8* %a, i8* %b) {

diff  --git a/lld/test/COFF/lto-lazy-reference.ll b/lld/test/COFF/lto-lazy-reference.ll
index 3c987846addfc..a6f4010eddd5d 100644
--- a/lld/test/COFF/lto-lazy-reference.ll
+++ b/lld/test/COFF/lto-lazy-reference.ll
@@ -6,7 +6,7 @@
 ; RUN: llvm-as -o %t.obj %s
 ; RUN: lld-link /out:%t.exe /entry:main /subsystem:console %t.obj %t.lib
 
-target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32-a:0:32-S32"
+target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:32-n8:16:32-a:0:32-S32"
 target triple = "i686-pc-windows-msvc18.0.0"
 
 ; Define fltused, since we don't link against the MS C runtime but are

diff  --git a/lld/test/COFF/lto-reloc-model.ll b/lld/test/COFF/lto-reloc-model.ll
index db56176c4b7c8..2b7e3a85191b0 100644
--- a/lld/test/COFF/lto-reloc-model.ll
+++ b/lld/test/COFF/lto-reloc-model.ll
@@ -3,7 +3,7 @@
 ; RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t
 ; RUN: llvm-objdump -d %t.exe | FileCheck %s
 
-target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32-a:0:32-S32"
+target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:32-n8:16:32-a:0:32-S32"
 target triple = "i686-pc-windows-msvc"
 
 @foo = thread_local global i8 0


        


More information about the llvm-commits mailing list