diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
commit | e3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch) | |
tree | ccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/Integer/BitPacked.ll | |
parent | 950bf6030101d670ea205efd307ea5d3b375544d (diff) | |
download | llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2 llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/BitPacked.ll')
-rw-r--r-- | test/Integer/BitPacked.ll | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/test/Integer/BitPacked.ll b/test/Integer/BitPacked.ll index 267c3fdb41..26c9ee95c7 100644 --- a/test/Integer/BitPacked.ll +++ b/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 } |