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

Side by Side Diff: tests_lit/llvm2ice_tests/unreachable.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
OLDNEW
1 ; This tests the basic structure of the Unreachable instruction. 1 ; This tests the basic structure of the Unreachable instruction.
2 2
3 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer 3 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer
4 ; doesn't know how to symbolize non-section-local functions. 4 ; doesn't know how to symbolize non-section-local functions.
5 ; The newer LLVM 3.6 one does work, but watch out for other bugs. 5 ; The newer LLVM 3.6 one does work, but watch out for other bugs.
6 6
7 ; RUN: %p2i -i %s -a -O2 --verbose none \ 7 ; RUN: %p2i -i %s -a -O2 --verbose none \
8 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s 8 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s
9 ; RUN: %p2i -i %s -a -O2 --verbose none \ 9 ; RUN: %p2i -i %s -a -O2 --verbose none \
10 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 10 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
(...skipping 12 matching lines...) Expand all
23 23
24 return: ; preds = %entry 24 return: ; preds = %entry
25 %div = sdiv i32 %num, %den 25 %div = sdiv i32 %num, %den
26 ret i32 %div 26 ret i32 %div
27 } 27 }
28 28
29 ; CHECK-LABEL: divide 29 ; CHECK-LABEL: divide
30 ; CALLTARGETS-LABEL: divide 30 ; CALLTARGETS-LABEL: divide
31 ; CHECK: cmp 31 ; CHECK: cmp
32 ; CHECK: call -4 32 ; CHECK: call -4
33 ; CALLTARGETS: call ice_unreachable 33 ; CALLTARGETS: .long ice_unreachable
34 ; CHECK: cdq 34 ; CHECK: cdq
35 ; CHECK: idiv 35 ; CHECK: idiv
36 ; CHECK: ret 36 ; CHECK: ret
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll ('k') | tests_lit/llvm2ice_tests/vector-bitcast.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698