forked from OSchip/llvm-project
Fix tests for ARM targets
Tests fail on ARM targets due to ABI name between define and void. Added reg ex to skip. Patch by Glenn Howe (and expanded on by Douglas Yung)! Differential Revision: https://reviews.llvm.org/D33410 llvm-svn: 312181
This commit is contained in:
parent
79d53febcf
commit
aa25e5bab2
|
@ -1,7 +1,7 @@
|
|||
// Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
|
||||
// RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s
|
||||
|
||||
// CHECK: define void @foo()
|
||||
// CHECK: define {{.*}} void @foo()
|
||||
// CHECK: attributes {{.*}} "profile-sample-accurate"
|
||||
void foo() {
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
// RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm-bc -o - | llvm-dis -o - | FileCheck %s
|
||||
|
||||
// CHECK: define void @foo()
|
||||
// CHECK: define {{.*}} void @foo()
|
||||
void foo() {
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// RUN: llvm-lto -thinlto -o %t %t.o
|
||||
// RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s
|
||||
|
||||
// CHECK: define void @foo()
|
||||
// CHECK: define {{.*}} void @foo()
|
||||
// CHECK: attributes {{.*}} "profile-sample-accurate"
|
||||
void foo() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue