summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:50:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:50:32 +0000
commitccfbbd55966e7c4c436408daecd7e000879151c7 (patch)
tree257a86777c943eb9d254d0d13f1d45df4eff66f8 /llvm/test
parenteadb2a9ed06c9a4686b26aaa0060710e57908d54 (diff)
downloadbcm5719-llvm-ccfbbd55966e7c4c436408daecd7e000879151c7.tar.gz
bcm5719-llvm-ccfbbd55966e7c4c436408daecd7e000879151c7.zip
Use createTempSymbol to avoid collisions instead of an ad hoc method.
llvm-svn: 232483
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/PowerPC/2012-09-16-TOC-entry-check.ll8
-rw-r--r--llvm/test/CodeGen/PowerPC/alias.ll8
2 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2012-09-16-TOC-entry-check.ll b/llvm/test/CodeGen/PowerPC/2012-09-16-TOC-entry-check.ll
index 5bff58f2bbf..1d45c2e7345 100644
--- a/llvm/test/CodeGen/PowerPC/2012-09-16-TOC-entry-check.ll
+++ b/llvm/test/CodeGen/PowerPC/2012-09-16-TOC-entry-check.ll
@@ -19,9 +19,9 @@ define i32 @foo(double %X, double %Y) nounwind readnone {
}
; Check the creation of 2 .tc entries for both double constants. They
-; should be .LC1 and .LC3 to avoid name clash with global constants
-; .LC0 and .LC2
-; CHECK: .LC{{[13]}}:
+; avoid name clash with global constants .LC0 and .LC2
+; CHECK: .section .toc,"aw",@progbits
+; CHECK: .LC{{.*}}:
; CHECK-NEXT: .tc {{[\._a-zA-Z0-9]+}}[TC],{{[\._a-zA-Z0-9]+}}
-; CHECK: .LC{{[13]}}:
+; CHECK: .LC{{.*}}:
; CHECK-NEXT: .tc {{[\._a-zA-Z0-9]+}}[TC],{{[\._a-zA-Z0-9]+}}
diff --git a/llvm/test/CodeGen/PowerPC/alias.ll b/llvm/test/CodeGen/PowerPC/alias.ll
index b1521d63b63..524abd5da3e 100644
--- a/llvm/test/CodeGen/PowerPC/alias.ll
+++ b/llvm/test/CodeGen/PowerPC/alias.ll
@@ -10,7 +10,7 @@
; CHECK-LABEL: bar:
define i32 @bar() {
; MEDIUM: addis 3, 2, fooa@toc@ha
-; LARGE: addis 3, 2, .LC1@toc@ha
+; LARGE: addis 3, 2, .L[[L0:.*]]@toc@ha
%a = load i32, i32* @fooa
ret i32 %a
}
@@ -19,13 +19,13 @@ define i32 @bar() {
define i64 @bar2() {
; MEDIUM: addis 3, 2, foo2a@toc@ha
; MEDIUM: addi 3, 3, foo2a@toc@l
-; LARGE: addis 3, 2, .LC3@toc@ha
+; LARGE: addis 3, 2, .L[[L1:.*]]@toc@ha
%a = load i64, i64* @foo2a
ret i64 %a
}
-; LARGE: .LC1:
+; LARGE: .L[[L0]]:
; LARGE-NEXT: .tc fooa[TC],fooa
-; LARGE: .LC3:
+; LARGE: .L[[L1]]:
; LARGE-NEXT: .tc foo2a[TC],foo2a
OpenPOWER on IntegriCloud