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/Transforms/GlobalOpt/memset.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/Transforms/GlobalOpt/memset.ll')
-rw-r--r-- | test/Transforms/GlobalOpt/memset.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalOpt/memset.ll b/test/Transforms/GlobalOpt/memset.ll index 442af9850c..ff6c421924 100644 --- a/test/Transforms/GlobalOpt/memset.ll +++ b/test/Transforms/GlobalOpt/memset.ll @@ -14,7 +14,7 @@ void %foo() { %Blah = alloca [58 x sbyte] ; <[58 x sbyte]*> [#uses=2] %tmp3 = cast [58 x sbyte]* %Blah to sbyte* call void %llvm.memcpy( sbyte* cast ([4 x int]* %G1 to sbyte*), sbyte* %tmp3, uint 16, uint 1) - call void %llvm.memset( sbyte* getelementptr ([58 x sbyte]* %G0, int 0, int 0), ubyte 17, uint 58, uint 1) + call void %llvm.memset( sbyte* getelementptr ([58 x sbyte]* %G0, int 0, int 0), uint 17, uint 58, uint 1) ret void } |