Skip to content

Commit 9b43237

Browse files
committed
[X86][LLD] Update datelayout in LLD tests. NFCI
rG1bb0caf56168 changed the datalayout of f80 on Windows 32 bits. But it missed the related use in the LLD tests. This patch will fix the problem catched by buildbot.
1 parent 35cca45 commit 9b43237

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lld/test/COFF/libcall-archive.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
; CHECK: _start
1111
; CHECK: _memcpy
1212

13-
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"
13+
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"
1414
target triple = "i686-unknown-windows"
1515

1616
define void @start(i8* %a, i8* %b) {

lld/test/COFF/lto-lazy-reference.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
; RUN: llvm-as -o %t.obj %s
77
; RUN: lld-link /out:%t.exe /entry:main /subsystem:console %t.obj %t.lib
88

9-
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"
9+
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"
1010
target triple = "i686-pc-windows-msvc18.0.0"
1111

1212
; Define fltused, since we don't link against the MS C runtime but are

lld/test/COFF/lto-reloc-model.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t
44
; RUN: llvm-objdump -d %t.exe | FileCheck %s
55

6-
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"
6+
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"
77
target triple = "i686-pc-windows-msvc"
88

99
@foo = thread_local global i8 0

0 commit comments

Comments
 (0)