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

Side by Side Diff: tests_lit/llvm2ice_tests/contract.ll

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 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
« no previous file with comments | « tests_lit/llvm2ice_tests/cond-br-same-target.ll ('k') | tests_lit/llvm2ice_tests/convert.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; This tests that an empty node pointing to itself is not contracted. 1 ; This tests that an empty node pointing to itself is not contracted.
2 ; https://code.google.com/p/nativeclient/issues/detail?id=4307 2 ; https://code.google.com/p/nativeclient/issues/detail?id=4307
3 ; 3 ;
4 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \ 4 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \
5 ; RUN: | FileCheck %s 5 ; RUN: | FileCheck %s
6 6
7 define void @SimpleBranch() { 7 define internal void @SimpleBranch() {
8 label0: 8 label0:
9 br label %label2 9 br label %label2
10 label1: 10 label1:
11 br label %label1 11 br label %label1
12 label2: 12 label2:
13 br label %label1 13 br label %label1
14 } 14 }
15 15
16 ; CHECK-LABEL: SimpleBranch 16 ; CHECK-LABEL: SimpleBranch
17 ; CHECK-NEXT: jmp 0 <SimpleBranch> 17 ; CHECK-NEXT: jmp 0 <SimpleBranch>
18 ; CHECK-NEXT: hlt 18 ; CHECK-NEXT: hlt
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/cond-br-same-target.ll ('k') | tests_lit/llvm2ice_tests/convert.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698