diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-04 21:34:03 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-04 21:34:03 +0000 |
commit | 9493dae613847b01b79914502f337814fe3e00ac (patch) | |
tree | a226d132d41fbb221f379e5d5099b28a3e13af70 /test/JitListener/test-parameters.ll | |
parent | 91b9763d53d12e5bb89a395daec9e12359e7adb4 (diff) | |
download | llvm-9493dae613847b01b79914502f337814fe3e00ac.tar.gz llvm-9493dae613847b01b79914502f337814fe3e00ac.tar.bz2 llvm-9493dae613847b01b79914502f337814fe3e00ac.tar.xz |
Use the 'count' attribute to calculate the upper bound of an array.
The count attribute is more accurate with regards to the size of an array. It
also obviates the upper bound attribute in the subrange. We can also better
handle an unbound array by setting the count to -1 instead of the lower bound to
1 and upper bound to 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/JitListener/test-parameters.ll')
-rw-r--r-- | test/JitListener/test-parameters.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/JitListener/test-parameters.ll b/test/JitListener/test-parameters.ll index a53c0809e1..0c437a8181 100644 --- a/test/JitListener/test-parameters.ll +++ b/test/JitListener/test-parameters.ll @@ -144,7 +144,7 @@ declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, !24 = metadata !{i32 720909, metadata !20, metadata !"c2", metadata !6, i32 24, i64 16, i64 8, i64 8, i32 0, metadata !25} ; [ DW_TAG_member ] !25 = metadata !{i32 720897, null, metadata !"", null, i32 0, i64 16, i64 8, i32 0, i32 0, metadata !23, metadata !26, i32 0, i32 0} ; [ DW_TAG_array_type ] !26 = metadata !{metadata !27} -!27 = metadata !{i32 720929, i64 0, i64 1, i64 2} ; [ DW_TAG_subrange_type ] +!27 = metadata !{i32 720929, i64 0, i64 2} ; [ DW_TAG_subrange_type ] !28 = metadata !{i32 720942, i32 0, metadata !20, metadata !"char_struct", metadata !"char_struct", metadata !"", metadata !6, i32 22, metadata !29, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !10} ; [ DW_TAG_subprogram ] !29 = metadata !{i32 720917, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !30, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] !30 = metadata !{null, metadata !31} |