Fix some tests that were failing on Windows

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hans Wennborg 2018-04-20 15:33:44 +00:00
parent fffb8f31fd
commit 44fa4e90c4
3 changed files with 9 additions and 9 deletions

View File

@ -5,12 +5,12 @@
void f(void) {}
void __attribute__((__aligned__(64))) g(void) {}
// CHECK-NONE-NOT: define void @f() #0 align
// CHECK-NONE: define void @g() #0 align 64
// CHECK-NONE-NOT: define {{(dso_local )?}}void @f() #0 align
// CHECK-NONE: define {{(dso_local )?}}void @g() #0 align 64
// CHECK-16: define void @f() #0 align 16
// CHECK-16: define void @g() #0 align 64
// CHECK-16: define {{(dso_local )?}}void @f() #0 align 16
// CHECK-16: define {{(dso_local )?}}void @g() #0 align 64
// CHECK-32: define void @f() #0 align 32
// CHECK-32: define void @g() #0 align 64
// CHECK-32: define {{(dso_local )?}}void @f() #0 align 32
// CHECK-32: define {{(dso_local )?}}void @g() #0 align 64

View File

@ -7,10 +7,10 @@
// For all targets 'denorms-are-zero' attribute is set to 'true'
// if '-cl-denorms-are-zero' was specified and to 'false' otherwise.
// CHECK-LABEL: define void @f()
// CHECK-LABEL: define {{(dso_local )?}}void @f()
// CHECK: attributes #{{[0-9]*}} = {{{[^}]*}} "denorms-are-zero"="false"
//
// DENORM-ZERO-LABEL: define void @f()
// DENORM-ZERO-LABEL: define {{(dso_local )?}}void @f()
// DENORM-ZERO: attributes #{{[0-9]*}} = {{{[^}]*}} "denorms-are-zero"="true"
// For amdgcn target cpu fiji, fp32 should be flushed since fiji does not support fp32 denormals, unless +fp32-denormals is

View File

@ -25,4 +25,4 @@
// CHECK-LTO: "-plugin-opt=stats-file=save-stats.stats"
// RUN: %clang -target x86_64-linux-unknown -save-stats=obj -flto -o obj/dir/save-stats.exe %s -### 2>&1 | FileCheck %s -check-prefix=CHECK-LTO-OBJ
// CHECK-LTO-OBJ: "-plugin-opt=stats-file=obj/dir/save-stats.stats"
// CHECK-LTO-OBJ: "-plugin-opt=stats-file=obj/dir{{/|\\\\}}save-stats.stats"