aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/weak.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/weak.ll')
-rw-r--r--test/CodeGen/ARM/weak.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/weak.ll b/test/CodeGen/ARM/weak.ll
index 5ac4b8c..375ce22 100644
--- a/test/CodeGen/ARM/weak.ll
+++ b/test/CodeGen/ARM/weak.ll
@@ -1,5 +1,4 @@
-; RUN: llc < %s -march=arm | grep .weak.*f
-; RUN: llc < %s -march=arm | grep .weak.*h
+; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
define weak i32 @f() {
entry:
@@ -14,3 +13,6 @@ entry:
declare extern_weak void @h()
+; CHECK: {{.}}weak{{.*}}f
+; CHECK: {{.}}weak{{.*}}h
+