OLD | NEW |
---|---|
(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 new form of binary add (without flags argument) works. | |
Jim Stichnoth
2016/03/24 20:53:58
"that the new" ?
(similar below)
Karl
2016/03/24 22:54:41
Done.
| |
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 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) { # Function(i=2:b=1) | |
Jim Stichnoth
2016/03/24 20:53:59
Remove everything from "#" to the end of the line.
Karl
2016/03/24 22:54:41
Done.
| |
16 ; CHECK: __0: | |
17 ; CHECK: %__2 = add i32 %__0, %__1 | |
18 ; CHECK: ret i32 %__2 | |
19 ; CHECK: } | |
OLD | NEW |