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

Side by Side Diff: tests_lit/llvm2ice_tests/branch-simple.ll

Issue 914263005: Subzero: switch from llvm-objdump to objdump for lit tests (for LLVM merge) (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: backup... 9 to go 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
OLDNEW
1 ; 1. Trivial smoke test of compare and branch, with multiple basic 1 ; 1. Trivial smoke test of compare and branch, with multiple basic
2 ; blocks. 2 ; blocks.
3 ; 2. For a conditional branch on a constant boolean value, make sure 3 ; 2. For a conditional branch on a constant boolean value, make sure
4 ; we don't lower to a cmp instructions with an immediate as the first 4 ; we don't lower to a cmp instructions with an immediate as the first
5 ; source operand. 5 ; source operand.
6 6
7 ; REQUIRES: allow_dump 7 ; REQUIRES: allow_dump
8 8
9 ; RUN: %p2i -i %s --args -O2 --verbose inst -threads=0 | FileCheck %s 9 ; RUN: %p2i -i %s --args -O2 --verbose inst -threads=0 | FileCheck %s
10 ; RUN: %p2i -i %s --args -Om1 --verbose inst -threads=0 | FileCheck %s 10 ; RUN: %p2i -i %s --args -Om1 --verbose inst -threads=0 | FileCheck %s
(...skipping 16 matching lines...) Expand all
27 27
28 define internal i32 @test_br_const() { 28 define internal i32 @test_br_const() {
29 __0: 29 __0:
30 br i1 true, label %__1, label %__2 30 br i1 true, label %__1, label %__2
31 __1: 31 __1:
32 ret i32 21 32 ret i32 21
33 __2: 33 __2:
34 ret i32 43 34 ret i32 43
35 } 35 }
36 ; CHECK-LABEL: test_br_const 36 ; CHECK-LABEL: test_br_const
37 ; CHECK-NOT: cmp {{[0-9]*}}, 37 ; CHECK-NOT: cmp 0x{{[0-9]*}},
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698