diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-08-20 06:02:24 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-08-20 06:02:24 +0000 |
commit | b6388f725e238bbff8e4bd9df71f0871467cef68 (patch) | |
tree | e846c76e08480ca444a919df8d465e621507b9fe /llvm/test/Feature/packed.ll | |
parent | 0220904e7ad2936d0bd4fd659c9ee7508f38dacc (diff) | |
download | bcm5719-llvm-b6388f725e238bbff8e4bd9df71f0871467cef68.tar.gz bcm5719-llvm-b6388f725e238bbff8e4bd9df71f0871467cef68.zip |
Added a test case for packed types. Test case kindly provided by Brad Jones
llvm-svn: 15939
Diffstat (limited to 'llvm/test/Feature/packed.ll')
-rwxr-xr-x | llvm/test/Feature/packed.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/Feature/packed.ll b/llvm/test/Feature/packed.ll new file mode 100755 index 00000000000..bc355ab355f --- /dev/null +++ b/llvm/test/Feature/packed.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | llvm-dis + +%foo1 = uninitialized global <4 x float>; +%foo2 = uninitialized global <2 x int>; + +implementation ; Functions: + +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 int> <int 4, int 4>, <2 x int>* %foo2 + %l1 = load <4 x float>* %foo1 + %l2 = load <2 x int>* %foo2 + ret void +} |