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

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

Issue 1337113008: Subzero: Don't contract an empty node that branches to itself. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a test Created 5 years, 3 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 | « src/IceCfgNode.cpp ('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
(Empty)
1 ; This tests that an empty node pointing to itself is not contracted.
2 ; https://code.google.com/p/nativeclient/issues/detail?id=4307
3 ;
4 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \
5 ; RUN: | FileCheck %s
6
7 define void @SimpleBranch() {
8 label0:
9 br label %label2
10 label1:
11 br label %label1
12 label2:
13 br label %label1
14 }
15
16 ; CHECK-LABEL: SimpleBranch
17 ; CHECK-NEXT: jmp 0 <SimpleBranch>
18 ; CHECK-NEXT: hlt
OLDNEW
« no previous file with comments | « src/IceCfgNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698