Skip to content

Commit 2f1eea5

Browse files
author
Kamil Kashapov
committed
test/MSan: change target trilpe to 32-bit arch in respective tests
1 parent 3356eb3 commit 2f1eea5

18 files changed

+25
-25
lines changed

llvm/test/Instrumentation/MemorySanitizer/ARM32/vararg-arm32.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2-
; RUN: opt < %s -S -passes=msan 2>&1 | FileCheck %s
2+
; RUN: opt < %s -S -passes=msan -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 2>&1 | FileCheck %s
33

44
target datalayout = "E-m:m-i8:8:32-i16:16:32-i64:64-n32:64-S128"
5-
target triple = "mips64--linux"
5+
target triple = "arm--linux"
66

77
define i32 @foo(i32 %guard, ...) {
88
; CHECK-LABEL: define i32 @foo(

llvm/test/Instrumentation/MemorySanitizer/Mips32/vararg-mips.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2-
; RUN: opt < %s -S -passes=msan 2>&1 | FileCheck %s
2+
; RUN: opt < %s -S -passes=msan -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 2>&1 | FileCheck %s
33

44
target datalayout = "E-m:m-i8:8:32-i16:16:32-i64:64-n32:64-S128"
5-
target triple = "mips64--linux"
5+
target triple = "mips--linux"
66

77
define i32 @foo(i32 %guard, ...) {
88
; CHECK-LABEL: define i32 @foo(

llvm/test/Instrumentation/MemorySanitizer/Mips32/vararg-mipsel.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2-
; RUN: opt < %s -S -passes=msan 2>&1 | FileCheck %s
2+
; RUN: opt < %s -S -passes=msan -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:m-i8:8:32-i16:16:32-i64:64-n32:64-S128"
5-
target triple = "mips64el--linux"
5+
target triple = "mipsel--linux"
66

77
define i32 @foo(i32 %guard, ...) {
88
; CHECK-LABEL: define i32 @foo(

llvm/test/Instrumentation/MemorySanitizer/PowerPC32/kernel-ppcle.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2-
; RUN: opt < %s -S -msan-kernel=1 -passes=msan 2>&1 | FileCheck %s
2+
; RUN: opt < %s -S -msan-kernel=1 -passes=msan -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:e-i64:64-n32:64"
5-
target triple = "powerpc64le--linux"
5+
target triple = "powerpcle--linux"
66

77
define void @Store1(ptr %p, i8 %x) sanitize_memory {
88
; CHECK-LABEL: define void @Store1(

llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppc.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2-
; RUN: opt < %s -S -passes=msan 2>&1 | FileCheck %s
2+
; RUN: opt < %s -S -passes=msan -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 2>&1 | FileCheck %s
33

44
target datalayout = "E-m:e-i64:64-n32:64"
5-
target triple = "powerpc64--linux"
5+
target triple = "powerpc--linux"
66

77
define i32 @foo(i32 %guard, ...) {
88
; CHECK-LABEL: define i32 @foo(

llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppcle.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2-
; RUN: opt < %s -S -passes=msan 2>&1 | FileCheck %s
2+
; RUN: opt < %s -S -passes=msan -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:e-i64:64-n32:64"
5-
target triple = "powerpc64le--linux"
5+
target triple = "powerpcle--linux"
66

77
define i32 @foo(i32 %guard, ...) {
88
; CHECK-LABEL: define i32 @foo(

llvm/test/Instrumentation/MemorySanitizer/RISCV32/vararg-riscv32.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2-
; RUN: opt < %s -S -passes=msan 2>&1 | FileCheck %s
2+
; RUN: opt < %s -S -passes=msan -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 2>&1 | FileCheck %s
33

44
target datalayout = "E-m:m-i8:8:32-i16:16:32-i64:64-n32:64-S128"
5-
target triple = "mips64--linux"
5+
target triple = "riscv32--linux"
66

77
define i32 @foo(i32 %guard, ...) {
88
; CHECK-LABEL: define i32 @foo(

llvm/test/Instrumentation/MemorySanitizer/i386/avx-intrinsics-x86.ll renamed to llvm/test/Instrumentation/MemorySanitizer/i386/avx-intrinsics-i386.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt %s -S -passes=msan 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5-
target triple = "x86_64-unknown-linux-gnu"
5+
target triple = "i386-unknown-linux-gnu"
66

77
define <4 x double> @test_x86_avx_addsub_pd_256(<4 x double> %a0, <4 x double> %a1) #0 {
88
; CHECK-LABEL: @test_x86_avx_addsub_pd_256(

llvm/test/Instrumentation/MemorySanitizer/i386/avx2-intrinsics-x86.ll renamed to llvm/test/Instrumentation/MemorySanitizer/i386/avx2-intrinsics-i386.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt %s -S -passes=msan 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5-
target triple = "x86_64-unknown-linux-gnu"
5+
target triple = "i386-unknown-linux-gnu"
66

77
define <16 x i16> @test_x86_avx2_packssdw(<8 x i32> %a0, <8 x i32> %a1) #0 {
88
; CHECK-LABEL: @test_x86_avx2_packssdw(

llvm/test/Instrumentation/MemorySanitizer/i386/mmx-intrinsics.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt %s -S -passes=msan 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5-
target triple = "x86_64-unknown-linux-gnu"
5+
target triple = "i386-unknown-linux-gnu"
66

77
declare <1 x i64> @llvm.x86.ssse3.phadd.w(<1 x i64>, <1 x i64>) nounwind readnone
88

llvm/test/Instrumentation/MemorySanitizer/i386/msan_x86_bts_asm.ll renamed to llvm/test/Instrumentation/MemorySanitizer/i386/msan_i386_bts_asm.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
; RUN: opt < %s -msan-kernel=1 -msan-check-access-address=0 -msan-handle-asm-conservative=1 -S -passes=msan 2>&1 | FileCheck %s -check-prefixes=CONS
55

66
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
7-
target triple = "x86_64-unknown-linux-gnu"
7+
target triple = "i386-unknown-linux-gnu"
88

99
define dso_local i32 @main() sanitize_memory {
1010
; CHECK-LABEL: define dso_local i32 @main(

llvm/test/Instrumentation/MemorySanitizer/i386/msan_x86intrinsics.ll renamed to llvm/test/Instrumentation/MemorySanitizer/i386/msan_i386intrinsics.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; REQUIRES: x86-registered-target
66

77
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
8-
target triple = "x86_64-unknown-linux-gnu"
8+
target triple = "i386-unknown-linux-gnu"
99

1010
; Store intrinsic.
1111

llvm/test/Instrumentation/MemorySanitizer/i386/sse-intrinsics-x86.ll renamed to llvm/test/Instrumentation/MemorySanitizer/i386/sse-intrinsics-i386.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt %s -S -passes=msan 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5-
target triple = "x86_64-unknown-linux-gnu"
5+
target triple = "i386-unknown-linux-gnu"
66

77
define <4 x float> @test_x86_sse_cmp_ps(<4 x float> %a0, <4 x float> %a1) #0 {
88
; CHECK-LABEL: @test_x86_sse_cmp_ps(

llvm/test/Instrumentation/MemorySanitizer/i386/sse2-intrinsics-x86.ll renamed to llvm/test/Instrumentation/MemorySanitizer/i386/sse2-intrinsics-i386.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt %s -S -passes=msan 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5-
target triple = "x86_64-unknown-linux-gnu"
5+
target triple = "i386-unknown-linux-gnu"
66

77
define <2 x double> @test_x86_sse2_cmp_pd(<2 x double> %a0, <2 x double> %a1) #0 {
88
; CHECK-LABEL: @test_x86_sse2_cmp_pd(

llvm/test/Instrumentation/MemorySanitizer/i386/sse41-intrinsics-x86.ll renamed to llvm/test/Instrumentation/MemorySanitizer/i386/sse41-intrinsics-i386.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt %s -S -passes=msan 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5-
target triple = "x86_64-unknown-linux-gnu"
5+
target triple = "i386-unknown-linux-gnu"
66

77
define <2 x double> @test_x86_sse41_blendvpd(<2 x double> %a0, <2 x double> %a1, <2 x double> %a2) #0 {
88
; CHECK-LABEL: @test_x86_sse41_blendvpd(

llvm/test/Instrumentation/MemorySanitizer/i386/vararg-too-large.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; passed to a variadic function.
66

77
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
8-
target triple = "x86_64-unknown-linux-gnu"
8+
target triple = "i386-unknown-linux-gnu"
99

1010
define dso_local i64 @many_args() {
1111
; CHECK-LABEL: define dso_local i64 @many_args() {

llvm/test/Instrumentation/MemorySanitizer/i386/vararg_call.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
; Test that shadow and origin are stored for variadic function params.
88

99
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
10-
target triple = "x86_64-unknown-linux-gnu"
10+
target triple = "i386-unknown-linux-gnu"
1111

1212
%struct.__va_list_tag = type { i32, i32, ptr, ptr }
1313

llvm/test/Instrumentation/MemorySanitizer/i386/vararg_shadow.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt < %s -msan-check-access-address=0 -S -passes=msan 2>&1 | FileCheck %s
33

44
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
5-
target triple = "x86_64-unknown-linux-gnu"
5+
target triple = "i386-unknown-linux-gnu"
66

77
%struct.Double4 = type { [4 x double] }
88
%struct.LongDouble2 = type { [2 x x86_fp80] }

0 commit comments

Comments
 (0)