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

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: Minor change in GlobalContext::getJumpTables(), make jump tables in deterministic order even pooled… 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 57 ;@__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
jvoung (off chromium) 2015/08/20 13:43:30 can we remove the commented out bits?
qining 2015/08/20 16:19:33 Done.
58 ;@__fini_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 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 60 ;@__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
61 61
62 ; Make sure the shuffled order is correct. 62 ; Make sure the shuffled order is correct.
63 63
64 ; CHECK-LABEL: ArrayInit
65 ; CHECK-LABEL: PrimitiveInit
64 ; CHECK-LABEL: ArrayInitPartial 66 ; CHECK-LABEL: ArrayInitPartial
65 ; CHECK-LABEL: PrimitiveInit
66 ; CHECK-LABEL: ArrayInit
67 ; CHECK-LABEL: PrimitiveUninit 67 ; CHECK-LABEL: PrimitiveUninit
68 ; CHECK-LABEL: ArrayUninit 68 ; CHECK-LABEL: ArrayUninit
69 ; CHECK-LABEL: PrimitiveInitStatic 69 ; CHECK-LABEL: PrimitiveInitStatic
70 ; CHECK-LABEL: ArrayUninitConstDouble 70 ; CHECK-LABEL: ArrayUninitConstDouble
71 ; CHECK-LABEL: ArrayUninitConstInt 71 ; CHECK-LABEL: ArrayUninitConstInt
72 ; CHECK-LABEL: PrimitiveInitConst 72 ; CHECK-LABEL: PrimitiveInitConst
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698