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

Side by Side Diff: tests_lit/llvm2ice_tests/bool-opt.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 ; Trivial smoke test of icmp without fused branch opportunity. 1 ; Trivial smoke test of icmp without fused branch opportunity.
2 2
3 ; RUN: %p2i -i %s --args --verbose none | FileCheck %s 3 ; RUN: %p2i -i %s --args --verbose none | FileCheck %s
4 4
5 ; Check that correct addressing modes are used for comparing two 5 ; Check that correct addressing modes are used for comparing two
6 ; immediates. 6 ; immediates.
7 define void @testIcmpImm() { 7 define void @testIcmpImm() {
8 entry: 8 entry:
9 %cmp = icmp eq i32 1, 2 9 %cmp = icmp eq i32 1, 2
10 %cmp_ext = zext i1 %cmp to i32 10 %cmp_ext = zext i1 %cmp to i32
11 tail call void @use(i32 %cmp_ext) 11 tail call void @use(i32 %cmp_ext)
12 ret void 12 ret void
13 } 13 }
14 ; CHECK-LABEL: testIcmpImm 14 ; CHECK-LABEL: testIcmpImm
15 ; CHECK-NOT: cmp {{[0-9]+}}, 15 ; CHECK-NOT: cmp 0x{{[0-9]+}},
16 16
17 declare void @use(i32) 17 declare void @use(i32)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698