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

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

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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/store.ll ('k') | tests_lit/reader_tests/unnamed.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 ; Test switch instructions. 1 ; Test switch instructions.
2 2
3 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %if --need=allow_disable_ir_gen --command \ 4 ; RUN: %p2i -i %s --args -notranslate -timing | \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 5 ; RUN: FileCheck --check-prefix=NOIR %s
8 6
9 define internal void @testDefaultSwitch(i32 %a) { 7 define internal void @testDefaultSwitch(i32 %a) {
10 entry: 8 entry:
11 switch i32 %a, label %exit [ 9 switch i32 %a, label %exit [
12 ] 10 ]
13 exit: 11 exit:
14 ret void 12 ret void
15 } 13 }
16 14
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 ; CHECK-NEXT: %a = trunc i32 %p to i1 486 ; CHECK-NEXT: %a = trunc i32 %p to i1
489 ; CHECK-NEXT: switch i1 %a, label %exit [ 487 ; CHECK-NEXT: switch i1 %a, label %exit [
490 ; CHECK-NEXT: i1 -1, label %exit 488 ; CHECK-NEXT: i1 -1, label %exit
491 ; CHECK-NEXT: i1 0, label %exit 489 ; CHECK-NEXT: i1 0, label %exit
492 ; CHECK-NEXT: ] 490 ; CHECK-NEXT: ]
493 ; CHECK-NEXT: exit: 491 ; CHECK-NEXT: exit:
494 ; CHECK-NEXT: ret void 492 ; CHECK-NEXT: ret void
495 ; CHECK-NEXT: } 493 ; CHECK-NEXT: }
496 494
497 ; NOIR: Total across all functions 495 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/store.ll ('k') | tests_lit/reader_tests/unnamed.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698