summaryrefslogtreecommitdiffstats
path: root/llvm/test/Integer/BitPacked.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
commitce380568b5406356a04d745c9c6f137000217ef4 (patch)
treec7f2b122fd0787529ed0b95e2564971afa2ee6c6 /llvm/test/Integer/BitPacked.ll
parent4f95f1ab08a707652664aa6d211c1a513dece122 (diff)
downloadbcm5719-llvm-ce380568b5406356a04d745c9c6f137000217ef4.tar.gz
bcm5719-llvm-ce380568b5406356a04d745c9c6f137000217ef4.zip
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. llvm-svn: 33533
Diffstat (limited to 'llvm/test/Integer/BitPacked.ll')
-rw-r--r--llvm/test/Integer/BitPacked.ll17
1 files changed, 8 insertions, 9 deletions
diff --git a/llvm/test/Integer/BitPacked.ll b/llvm/test/Integer/BitPacked.ll
index 267c3fdb41d..26c9ee95c7c 100644
--- a/llvm/test/Integer/BitPacked.ll
+++ b/llvm/test/Integer/BitPacked.ll
@@ -2,22 +2,21 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-
-%foo1 = external global <4 x float>;
-%foo2 = external global <2 x i10>;
+@foo1 = external global <4 x float>;
+@foo2 = external global <2 x i10>;
implementation ; Functions:
-define void %main()
+define void @main()
{
- store <4 x float> <float 1.0, float 2.0, float 3.0, float 4.0>, <4 x float>* %foo1
- store <2 x i10> <i10 4, i10 4>, <2 x i10>* %foo2
- %l1 = load <4 x float>* %foo1
- %l2 = load <2 x i10>* %foo2
+ store <4 x float> <float 1.0, float 2.0, float 3.0, float 4.0>, <4 x float>* @foo1
+ store <2 x i10> <i10 4, i10 4>, <2 x i10>* @foo2
+ %l1 = load <4 x float>* @foo1
+ %l2 = load <2 x i10>* @foo2
%r1 = extractelement <2 x i10> %l2, i32 1
%r2 = extractelement <2 x i10> %l2, i32 0
%t = mul i10 %r1, %r2
%r3 = insertelement <2 x i10> %l2, i10 %t, i32 0
- store <2 x i10> %r3, <2 x i10>* %foo2
+ store <2 x i10> %r3, <2 x i10>* @foo2
ret void
}
OpenPOWER on IntegriCloud