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

Side by Side Diff: tests_lit/llvm2ice_tests/arith-opt.ll

Issue 700263003: Rearrange emit vs emitIAS. Wait till function is done before dumping text. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: remove comment... might end up using the iterator Created 6 years, 1 month 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/llvm2ice_tests/64bit.pnacl.ll ('k') | tests_lit/llvm2ice_tests/fp.pnacl.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 ; This is a very early test that just checks the representation of i32 1 ; This is a very early test that just checks the representation of i32
2 ; arithmetic instructions. No assembly tests are done. 2 ; arithmetic instructions. No assembly tests are done.
3 3
4 ; RUN: %p2i -i %s --args --verbose inst | FileCheck %s 4 ; RUN: %p2i -i %s --args --verbose inst -ias=0 | FileCheck %s
5 5
6 define i32 @Add(i32 %a, i32 %b) { 6 define i32 @Add(i32 %a, i32 %b) {
7 ; CHECK: define i32 @Add 7 ; CHECK: define i32 @Add
8 entry: 8 entry:
9 %add = add i32 %b, %a 9 %add = add i32 %b, %a
10 ; CHECK: add 10 ; CHECK: add
11 tail call void @Use(i32 %add) 11 tail call void @Use(i32 %add)
12 ; CHECK: call Use 12 ; CHECK: call Use
13 ret i32 %add 13 ret i32 %add
14 } 14 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 ; Check for a valid addressing mode in the x86-32 mul instruction when 110 ; Check for a valid addressing mode in the x86-32 mul instruction when
111 ; the second source operand is an immediate. 111 ; the second source operand is an immediate.
112 define i64 @MulImm() { 112 define i64 @MulImm() {
113 entry: 113 entry:
114 %mul = mul i64 3, 4 114 %mul = mul i64 3, 4
115 ret i64 %mul 115 ret i64 %mul
116 } 116 }
117 ; CHECK-LABEL: MulImm 117 ; CHECK-LABEL: MulImm
118 ; CHECK-NOT: mul {{[0-9]+}} 118 ; CHECK-NOT: mul {{[0-9]+}}
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/64bit.pnacl.ll ('k') | tests_lit/llvm2ice_tests/fp.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698