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

Side by Side Diff: tests_lit/reader_tests/unnamed.ll

Issue 659513005: Allow conditional lit tests in Subzero, based on build flags. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add -Wno-error=unused-parameter Created 6 years, 1 month 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
« no previous file with comments | « tests_lit/reader_tests/globalrelocs.ll ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Tests that we name unnamed global addresses. 1 ; Tests that we name unnamed global addresses.
2 2
3 ; Check that the ICE converter handles renaming correctly. 3 ; Check that Subzero's bitcode reader handles renaming correctly.
4 ; RUN: %l2i --no-local-syms -i %s --insts | FileCheck %s 4 ; RUN: %p2i --no-local-syms -i %s --insts | FileCheck %s
5 ; RUN: %l2i --no-local-syms -i %s --insts | %ifl FileCheck %s
5 6
6 ; RUN: %l2i --no-local-syms -i %s --insts --args --exit-success \ 7 ; RUN: %l2i --no-local-syms -i %s --insts --args --exit-success \
7 ; RUN: -default-function-prefix=h -default-global-prefix=g \ 8 ; RUN: -default-function-prefix=h -default-global-prefix=g \
8 ; RUN: | FileCheck --check-prefix=BAD %s 9 ; RUN: | %ifl FileCheck --check-prefix=BAD %s
9
10 ; Check that Subzero's bitcode reader handles renaming correctly.
11 ; RUN: %p2i --no-local-syms -i %s --insts | FileCheck %s
12 10
13 ; RUN: %p2i --no-local-syms -i %s --insts --args --exit-success \ 11 ; RUN: %p2i --no-local-syms -i %s --insts --args --exit-success \
14 ; RUN: -default-function-prefix=h -default-global-prefix=g \ 12 ; RUN: -default-function-prefix=h -default-global-prefix=g \
15 ; RUN: | FileCheck --check-prefix=BAD %s 13 ; RUN: | FileCheck --check-prefix=BAD %s
16 14
17 ; TODO(kschimpf) Check global variable declarations, once generated. 15 ; TODO(kschimpf) Check global variable declarations, once generated.
18 16
19 @0 = internal global [4 x i8] zeroinitializer, align 4 17 @0 = internal global [4 x i8] zeroinitializer, align 4
20 @1 = internal constant [10 x i8] c"Some stuff", align 1 18 @1 = internal constant [10 x i8] c"Some stuff", align 1
21 @g = internal global [4 x i8] zeroinitializer, align 4 19 @g = internal global [4 x i8] zeroinitializer, align 4
(...skipping 30 matching lines...) Expand all
52 ret void 50 ret void
53 } 51 }
54 52
55 ; CHECK-NEXT: define void @h5() { 53 ; CHECK-NEXT: define void @h5() {
56 ; CHECK-NEXT: __0: 54 ; CHECK-NEXT: __0:
57 ; CHECK-NEXT: ret void 55 ; CHECK-NEXT: ret void
58 ; CHECK-NEXT: } 56 ; CHECK-NEXT: }
59 57
60 ; BAD: Warning : Default global prefix 'g' potentially conflicts with name 'g'. 58 ; BAD: Warning : Default global prefix 'g' potentially conflicts with name 'g'.
61 ; BAD: Warning : Default function prefix 'h' potentially conflicts with name 'h5 '. 59 ; BAD: Warning : Default function prefix 'h' potentially conflicts with name 'h5 '.
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/globalrelocs.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698