summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Richardson <arichardson.kde@gmail.com>2018-08-23 10:21:36 +0000
committerAlexander Richardson <arichardson.kde@gmail.com>2018-08-23 10:21:36 +0000
commit6cdd12a3bab59867592a69da3423cf0a3c516e46 (patch)
tree36f51504cf8140acb0f6cdc4cfb0a0826a1e3358
parentb3ae2bc62bdcceb08dd81894abe55d02bb99fef9 (diff)
downloadbcm5719-llvm-6cdd12a3bab59867592a69da3423cf0a3c516e46.tar.gz
bcm5719-llvm-6cdd12a3bab59867592a69da3423cf0a3c516e46.zip
Update avr attributes test for output change in r340519
After this commit there is an addrspace(1) before the attribute #. Since these tests are only checking the value of the attribute add a {{.*}} to make the test resilient to future output changes. llvm-svn: 340522
-rw-r--r--clang/test/CodeGen/avr/attributes/interrupt.c2
-rw-r--r--clang/test/CodeGen/avr/attributes/signal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/avr/attributes/interrupt.c b/clang/test/CodeGen/avr/attributes/interrupt.c
index 31b7ebb4f03..adea84eb3a3 100644
--- a/clang/test/CodeGen/avr/attributes/interrupt.c
+++ b/clang/test/CodeGen/avr/attributes/interrupt.c
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s
-// CHECK: define void @foo() #0
+// CHECK: define void @foo(){{.*}}#0
__attribute__((interrupt)) void foo(void) { }
// CHECK: attributes #0 = {{{.*interrupt.*}}}
diff --git a/clang/test/CodeGen/avr/attributes/signal.c b/clang/test/CodeGen/avr/attributes/signal.c
index 82859000060..030cdc843fe 100644
--- a/clang/test/CodeGen/avr/attributes/signal.c
+++ b/clang/test/CodeGen/avr/attributes/signal.c
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s
-// CHECK: define void @foo() #0
+// CHECK: define void @foo(){{.*}}#0
__attribute__((signal)) void foo(void) { }
// CHECK: attributes #0 = {{{.*signal.*}}}
OpenPOWER on IntegriCloud