summaryrefslogtreecommitdiff
path: root/test/Linker/testlink2.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-22 16:39:05 +0000
committerChris Lattner <sabre@nondot.org>2002-08-22 16:39:05 +0000
commitac2cbb847d256b2d1e967764958c2a86f0e38462 (patch)
treea70ffd0f77d9c44a951b89f0a054afa5f83f6f8f /test/Linker/testlink2.ll
parent0fd5bfd79d2b8db580bbc9ed7ebaf7e62c27260c (diff)
downloadllvm-ac2cbb847d256b2d1e967764958c2a86f0e38462.tar.gz
llvm-ac2cbb847d256b2d1e967764958c2a86f0e38462.tar.bz2
llvm-ac2cbb847d256b2d1e967764958c2a86f0e38462.tar.xz
Covnert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3458 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink2.ll')
-rw-r--r--test/Linker/testlink2.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll
index 4e5d7d560b..f119618a90 100644
--- a/test/Linker/testlink2.ll
+++ b/test/Linker/testlink2.ll
@@ -20,7 +20,8 @@ implementation
int "foo"(int %blah)
begin
store int %blah, int *%MyVar
- store int 12, { \2 *, int } * %MyIntList, uint 0, ubyte 1
+ %idx = getelementptr { \2 *, int } * %MyIntList, uint 0, ubyte 1
+ store int 12, int* %idx
%ack = load int * %0 ;; Load from the unnamed constant
%fzo = add int %ack, %blah