aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/XCore
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-18 22:29:15 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-18 22:29:15 +0000
commit771e0ab32a81eb501edcd4027e07c5c14d591a09 (patch)
tree9bc36cdd48036f7603a97757a0095a70696bd1da /test/CodeGen/XCore
parentbbcea55b68fad8116c29b3e831c5df398d558569 (diff)
downloadexternal_llvm-771e0ab32a81eb501edcd4027e07c5c14d591a09.zip
external_llvm-771e0ab32a81eb501edcd4027e07c5c14d591a09.tar.gz
external_llvm-771e0ab32a81eb501edcd4027e07c5c14d591a09.tar.bz2
Disambiguate function names in some CodeGen tests. (Some tests were using function names that also were names of instructions and/or doing other unusual things that were making the test not amenable to otherwise scriptable pattern matching.) No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/XCore')
-rw-r--r--test/CodeGen/XCore/threads.ll32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/CodeGen/XCore/threads.ll b/test/CodeGen/XCore/threads.ll
index 9602623..5840e77 100644
--- a/test/CodeGen/XCore/threads.ll
+++ b/test/CodeGen/XCore/threads.ll
@@ -10,57 +10,57 @@ declare void @llvm.xcore.initlr.p1i8(i8 addrspace(1)* %r, i8* %value)
declare void @llvm.xcore.initcp.p1i8(i8 addrspace(1)* %r, i8* %value)
declare void @llvm.xcore.initdp.p1i8(i8 addrspace(1)* %r, i8* %value)
-define i8 addrspace(1)* @getst(i8 addrspace(1)* %r) {
-; CHECK-LABEL: getst:
+define i8 addrspace(1)* @test_getst(i8 addrspace(1)* %r) {
+; CHECK-LABEL: test_getst:
; CHECK: getst r0, res[r0]
%result = call i8 addrspace(1)* @llvm.xcore.getst.p1i8.p1i8(i8 addrspace(1)* %r)
ret i8 addrspace(1)* %result
}
-define void @ssync() {
-; CHECK-LABEL: ssync:
+define void @test_ssync() {
+; CHECK-LABEL: test_ssync:
; CHECK: ssync
call void @llvm.xcore.ssync()
ret void
}
-define void @mjoin(i8 addrspace(1)* %r) {
-; CHECK-LABEL: mjoin:
+define void @test_mjoin(i8 addrspace(1)* %r) {
+; CHECK-LABEL: test_mjoin:
; CHECK: mjoin res[r0]
call void @llvm.xcore.mjoin.p1i8(i8 addrspace(1)* %r)
ret void
}
-define void @initsp(i8 addrspace(1)* %t, i8* %src) {
-; CHECK-LABEL: initsp:
+define void @test_initsp(i8 addrspace(1)* %t, i8* %src) {
+; CHECK-LABEL: test_initsp:
; CHECK: init t[r0]:sp, r1
call void @llvm.xcore.initsp.p1i8(i8 addrspace(1)* %t, i8* %src)
ret void
}
-define void @initpc(i8 addrspace(1)* %t, i8* %src) {
-; CHECK-LABEL: initpc:
+define void @test_initpc(i8 addrspace(1)* %t, i8* %src) {
+; CHECK-LABEL: test_initpc:
; CHECK: init t[r0]:pc, r1
call void @llvm.xcore.initpc.p1i8(i8 addrspace(1)* %t, i8* %src)
ret void
}
-define void @initlr(i8 addrspace(1)* %t, i8* %src) {
-; CHECK-LABEL: initlr:
+define void @test_initlr(i8 addrspace(1)* %t, i8* %src) {
+; CHECK-LABEL: test_initlr:
; CHECK: init t[r0]:lr, r1
call void @llvm.xcore.initlr.p1i8(i8 addrspace(1)* %t, i8* %src)
ret void
}
-define void @initcp(i8 addrspace(1)* %t, i8* %src) {
-; CHECK-LABEL: initcp:
+define void @test_initcp(i8 addrspace(1)* %t, i8* %src) {
+; CHECK-LABEL: test_initcp:
; CHECK: init t[r0]:cp, r1
call void @llvm.xcore.initcp.p1i8(i8 addrspace(1)* %t, i8* %src)
ret void
}
-define void @initdp(i8 addrspace(1)* %t, i8* %src) {
-; CHECK-LABEL: initdp:
+define void @test_initdp(i8 addrspace(1)* %t, i8* %src) {
+; CHECK-LABEL: test_initdp:
; CHECK: init t[r0]:dp, r1
call void @llvm.xcore.initdp.p1i8(i8 addrspace(1)* %t, i8* %src)
ret void