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

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

Issue 735513002: Create local config file for subzero reader tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit. Created 6 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 ; REQUIRES: allow_dump
4
5 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
6 ; RUN: %if --need=allow_disable_ir_gen --command \ 4 ; RUN: %if --need=allow_disable_ir_gen --command \
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
8 ; RUN: | %if --need=allow_disable_ir_gen --command \ 6 ; RUN: | %if --need=allow_disable_ir_gen --command \
9 ; RUN: FileCheck --check-prefix=NOIR %s 7 ; RUN: FileCheck --check-prefix=NOIR %s
10 8
11 define void @testDefaultSwitch(i32 %a) { 9 define void @testDefaultSwitch(i32 %a) {
12 entry: 10 entry:
13 switch i32 %a, label %exit [ 11 switch i32 %a, label %exit [
14 ] 12 ]
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 ; CHECK-NEXT: %a = trunc i32 %p to i1 488 ; CHECK-NEXT: %a = trunc i32 %p to i1
491 ; CHECK-NEXT: switch i1 %a, label %exit [ 489 ; CHECK-NEXT: switch i1 %a, label %exit [
492 ; CHECK-NEXT: i1 -1, label %exit 490 ; CHECK-NEXT: i1 -1, label %exit
493 ; CHECK-NEXT: i1 0, label %exit 491 ; CHECK-NEXT: i1 0, label %exit
494 ; CHECK-NEXT: ] 492 ; CHECK-NEXT: ]
495 ; CHECK-NEXT: exit: 493 ; CHECK-NEXT: exit:
496 ; CHECK-NEXT: ret void 494 ; CHECK-NEXT: ret void
497 ; CHECK-NEXT: } 495 ; CHECK-NEXT: }
498 496
499 ; NOIR: Total across all functions 497 ; 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