Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: tests_lit/llvm2ice_tests/reorder-global-variables.ll

Issue 1300993002: Use separate random number generator for each randomization pass (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: rebase to master Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 ; Test of global variable reordering. 1 ; Test of global variable reordering.
2 2
3 ; REQUIRES: allow_dump 3 ; REQUIRES: allow_dump
4 4
5 ; Test x8632 asm output 5 ; Test x8632 asm output
6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=asm --target x8632 \ 6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=asm --target x8632 \
7 ; RUN: -i %s --assemble --disassemble --dis-flags=-rD \ 7 ; RUN: -i %s --assemble --disassemble --dis-flags=-rD \
8 ; RUN: --args -sz-seed=1 -reorder-global-variables -O2 \ 8 ; RUN: --args -sz-seed=1 -reorder-global-variables -O2 \
9 ; RUN: | %if --need=target_X8632 --command FileCheck %s 9 ; RUN: | %if --need=target_X8632 --command FileCheck %s
10 ; RUN: %if --need=target_X8632 --command %p2i --filetype=asm --target x8632 \ 10 ; RUN: %if --need=target_X8632 --command %p2i --filetype=asm --target x8632 \
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 @PrimitiveInitStatic = internal global [4 x i8] zeroinitializer, align 4 47 @PrimitiveInitStatic = internal global [4 x i8] zeroinitializer, align 4
48 48
49 @PrimitiveUninit = internal global [4 x i8] zeroinitializer, align 4 49 @PrimitiveUninit = internal global [4 x i8] zeroinitializer, align 4
50 50
51 @ArrayUninit = internal global [20 x i8] zeroinitializer, align 4 51 @ArrayUninit = internal global [20 x i8] zeroinitializer, align 4
52 52
53 @ArrayUninitConstDouble = internal constant [200 x i8] zeroinitializer, align 8 53 @ArrayUninitConstDouble = internal constant [200 x i8] zeroinitializer, align 8
54 54
55 @ArrayUninitConstInt = internal constant [20 x i8] zeroinitializer, align 4 55 @ArrayUninitConstInt = internal constant [20 x i8] zeroinitializer, align 4
56 56
57 ;@__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
58 ;@__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
59 ;@__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
60 ;@__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
61
62 ; Make sure the shuffled order is correct. 57 ; Make sure the shuffled order is correct.
63 58
59 ; CHECK-LABEL: ArrayInit
60 ; CHECK-LABEL: PrimitiveInit
64 ; CHECK-LABEL: ArrayInitPartial 61 ; CHECK-LABEL: ArrayInitPartial
65 ; CHECK-LABEL: PrimitiveInit
66 ; CHECK-LABEL: ArrayInit
67 ; CHECK-LABEL: PrimitiveUninit 62 ; CHECK-LABEL: PrimitiveUninit
68 ; CHECK-LABEL: ArrayUninit 63 ; CHECK-LABEL: ArrayUninit
69 ; CHECK-LABEL: PrimitiveInitStatic 64 ; CHECK-LABEL: PrimitiveInitStatic
70 ; CHECK-LABEL: ArrayUninitConstDouble 65 ; CHECK-LABEL: ArrayUninitConstDouble
71 ; CHECK-LABEL: ArrayUninitConstInt 66 ; CHECK-LABEL: ArrayUninitConstInt
72 ; CHECK-LABEL: PrimitiveInitConst 67 ; CHECK-LABEL: PrimitiveInitConst
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/reorder-functions.ll ('k') | tests_lit/llvm2ice_tests/reorder-pooled-constants.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698