diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-23 15:14:52 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-23 15:14:52 +0000 |
commit | e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab (patch) | |
tree | 8d911b30b965f442bda5d3372328d7c093438a6b /test/Analysis/BasicAA/2003-03-04-GEPCrash.ll | |
parent | 565706b93e3695da49aee8d2eb67006ffdb2591f (diff) | |
download | llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.gz llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.bz2 llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.xz |
Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely
on the upgrade capability.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/BasicAA/2003-03-04-GEPCrash.ll')
-rw-r--r-- | test/Analysis/BasicAA/2003-03-04-GEPCrash.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll b/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll index 1f48327809..8a25031d7b 100644 --- a/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll +++ b/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2 void %test({[2 x int],[2 x int]}* %A, long %X, long %Y) { - %P1 = getelementptr {[2 x int],[2 x int]}* %A, long 0, ubyte 0, long %X - %P2 = getelementptr {[2 x int],[2 x int]}* %A, long 0, ubyte 1, long %Y + %P1 = getelementptr {[2 x int],[2 x int]}* %A, long 0, uint 0, long %X + %P2 = getelementptr {[2 x int],[2 x int]}* %A, long 0, uint 1, long %Y ret void } |