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

Side by Side Diff: tests_lit/reader_tests/binop-forms.test

Issue 1831043002: Fix Subzero binary instruction to allow optional flags argument. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 4 years, 8 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/reader_tests/Inputs/binop-oldform.tbc ('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 ; Test if we recognize both the old and the new forms of a binary instruction.
2
3 ; REQUIRES: no_minimal_build
4
5 ; Checks that the new form of binary add (without flags argument) works.
6 ; RUN: %pnacl_sz -verbose inst,global_init -notranslate \
7 ; RUN: -threads=0 -bitcode-as-text %p/Inputs/binop-newform.tbc \
8 ; RUN: | FileCheck %s
9
10 ; Checks that the old form of binary add (with flags argument) works.
11 ; RUN: %pnacl_sz -verbose inst,global_init -notranslate \
12 ; RUN: -threads=0 -bitcode-as-text %p/Inputs/binop-oldform.tbc \
13 ; RUN: | FileCheck %s
14
15 ; CHECK: define internal i32 @Function(i32 %__0, i32 %__1) {
16 ; CHECK: __0:
17 ; CHECK: %__2 = add i32 %__0, %__1
18 ; CHECK: ret i32 %__2
19 ; CHECK: }
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/Inputs/binop-oldform.tbc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698