summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/fp-move-04.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-02-27 21:17:42 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-02-27 21:17:42 +0000
commita79ac14fa68297f9888bc70a10df5ed9b8864e38 (patch)
tree8d8217a8928e3ee599bdde405e2e178b3a55b645 /llvm/test/CodeGen/SystemZ/fp-move-04.ll
parent83687fb9e654c9d0086e7f6b728c26fa0b729e71 (diff)
downloadbcm5719-llvm-a79ac14fa68297f9888bc70a10df5ed9b8864e38.tar.gz
bcm5719-llvm-a79ac14fa68297f9888bc70a10df5ed9b8864e38.zip
[opaque pointer type] Add textual IR support for explicit type parameter to load instruction
Essentially the same as the GEP change in r230786. A similar migration script can be used to update test cases, though a few more test case improvements/changes were required this time around: (r229269-r229278) import fileinput import sys import re pat = re.compile(r"((?:=|:|^)\s*load (?:atomic )?(?:volatile )?(.*?))(| addrspace\(\d+\) *)\*($| *(?:%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|\[\[[a-zA-Z]|\{\{).*$)") for line in sys.stdin: sys.stdout.write(re.sub(pat, r"\1, \2\3*\4", line)) Reviewers: rafael, dexonsmith, grosser Differential Revision: http://reviews.llvm.org/D7649 llvm-svn: 230794
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/fp-move-04.ll')
-rw-r--r--llvm/test/CodeGen/SystemZ/fp-move-04.ll20
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/SystemZ/fp-move-04.ll b/llvm/test/CodeGen/SystemZ/fp-move-04.ll
index 83a64a933c2..d3728d0e585 100644
--- a/llvm/test/CodeGen/SystemZ/fp-move-04.ll
+++ b/llvm/test/CodeGen/SystemZ/fp-move-04.ll
@@ -7,7 +7,7 @@ define double @f1(double *%src) {
; CHECK-LABEL: f1:
; CHECK: ld %f0, 0(%r2)
; CHECK: br %r14
- %val = load double *%src
+ %val = load double , double *%src
ret double %val
}
@@ -17,7 +17,7 @@ define double @f2(double *%src) {
; CHECK: ld %f0, 4088(%r2)
; CHECK: br %r14
%ptr = getelementptr double, double *%src, i64 511
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -27,7 +27,7 @@ define double @f3(double *%src) {
; CHECK: ldy %f0, 4096(%r2)
; CHECK: br %r14
%ptr = getelementptr double, double *%src, i64 512
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -37,7 +37,7 @@ define double @f4(double *%src) {
; CHECK: ldy %f0, 524280(%r2)
; CHECK: br %r14
%ptr = getelementptr double, double *%src, i64 65535
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -49,7 +49,7 @@ define double @f5(double *%src) {
; CHECK: ld %f0, 0(%r2)
; CHECK: br %r14
%ptr = getelementptr double, double *%src, i64 65536
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -59,7 +59,7 @@ define double @f6(double *%src) {
; CHECK: ldy %f0, -8(%r2)
; CHECK: br %r14
%ptr = getelementptr double, double *%src, i64 -1
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -69,7 +69,7 @@ define double @f7(double *%src) {
; CHECK: ldy %f0, -524288(%r2)
; CHECK: br %r14
%ptr = getelementptr double, double *%src, i64 -65536
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -81,7 +81,7 @@ define double @f8(double *%src) {
; CHECK: ld %f0, 0(%r2)
; CHECK: br %r14
%ptr = getelementptr double, double *%src, i64 -65537
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -93,7 +93,7 @@ define double @f9(i64 %src, i64 %index) {
%add1 = add i64 %src, %index
%add2 = add i64 %add1, 4095
%ptr = inttoptr i64 %add2 to double *
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
@@ -105,6 +105,6 @@ define double @f10(i64 %src, i64 %index) {
%add1 = add i64 %src, %index
%add2 = add i64 %add1, 4096
%ptr = inttoptr i64 %add2 to double *
- %val = load double *%ptr
+ %val = load double , double *%ptr
ret double %val
}
OpenPOWER on IntegriCloud