mirror of https://github.com/microsoft/clang.git
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:
parent
fffb8f31fd
commit
44fa4e90c4
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue