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

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

Issue 876083007: Subzero: Emit functions and global initializers in a separate thread. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: More code review changes Created 5 years, 10 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 | « src/llvm2ice.cpp ('k') | tests_lit/llvm2ice_tests/branch-simple.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 ; REQUIRES: allow_dump 4 ; REQUIRES: allow_dump
5 5
6 ; RUN: %p2i -i %s --args --verbose inst -ias=0 | FileCheck %s 6 ; RUN: %p2i -i %s --args --verbose inst -threads=0 -ias=0 | FileCheck %s
7 7
8 define i32 @Add(i32 %a, i32 %b) { 8 define i32 @Add(i32 %a, i32 %b) {
9 ; CHECK: define i32 @Add 9 ; CHECK: define i32 @Add
10 entry: 10 entry:
11 %add = add i32 %b, %a 11 %add = add i32 %b, %a
12 ; CHECK: add 12 ; CHECK: add
13 tail call void @Use(i32 %add) 13 tail call void @Use(i32 %add)
14 ; CHECK: call Use 14 ; CHECK: call Use
15 ret i32 %add 15 ret i32 %add
16 } 16 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 ; Check for a valid addressing mode in the x86-32 mul instruction when 112 ; Check for a valid addressing mode in the x86-32 mul instruction when
113 ; the second source operand is an immediate. 113 ; the second source operand is an immediate.
114 define i64 @MulImm() { 114 define i64 @MulImm() {
115 entry: 115 entry:
116 %mul = mul i64 3, 4 116 %mul = mul i64 3, 4
117 ret i64 %mul 117 ret i64 %mul
118 } 118 }
119 ; CHECK-LABEL: MulImm 119 ; CHECK-LABEL: MulImm
120 ; CHECK-NOT: mul {{[0-9]+}} 120 ; CHECK-NOT: mul {{[0-9]+}}
OLDNEW
« no previous file with comments | « src/llvm2ice.cpp ('k') | tests_lit/llvm2ice_tests/branch-simple.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698