From 0e355701be41ad5bc6f83313a7f1ced24336c42d Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 23 Feb 2018 19:30:48 +0000 Subject: Bring r325915 back. The tests that failed on a windows host have been fixed. Original message: Start setting dso_local for COFF. With this there are still some GVs where we don't set dso_local because setGVProperties is never called. I intend to fix that in followup commits. This is just the bare minimum to teach shouldAssumeDSOLocal what it should do for COFF. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325940 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ms-barriers-intrinsics.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/CodeGen/ms-barriers-intrinsics.c') diff --git a/test/CodeGen/ms-barriers-intrinsics.c b/test/CodeGen/ms-barriers-intrinsics.c index c7da50cd0d..7f87c90170 100644 --- a/test/CodeGen/ms-barriers-intrinsics.c +++ b/test/CodeGen/ms-barriers-intrinsics.c @@ -12,26 +12,26 @@ typedef __SIZE_TYPE__ size_t; #include void test_ReadWriteBarrier() { _ReadWriteBarrier(); } -// CHECK-LABEL: define void @test_ReadWriteBarrier +// CHECK-LABEL: define dso_local void @test_ReadWriteBarrier // CHECK: fence syncscope("singlethread") seq_cst // CHECK: ret void // CHECK: } void test_ReadBarrier() { _ReadBarrier(); } -// CHECK-LABEL: define void @test_ReadBarrier +// CHECK-LABEL: define dso_local void @test_ReadBarrier // CHECK: fence syncscope("singlethread") seq_cst // CHECK: ret void // CHECK: } void test_WriteBarrier() { _WriteBarrier(); } -// CHECK-LABEL: define void @test_WriteBarrier +// CHECK-LABEL: define dso_local void @test_WriteBarrier // CHECK: fence syncscope("singlethread") seq_cst // CHECK: ret void // CHECK: } #if defined(__x86_64__) void test__faststorefence() { __faststorefence(); } -// CHECK-X64-LABEL: define void @test__faststorefence +// CHECK-X64-LABEL: define dso_local void @test__faststorefence // CHECK-X64: fence seq_cst // CHECK-X64: ret void // CHECK-X64: } -- cgit v1.2.1