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

Side by Side Diff: tests_lit/llvm2ice_tests/globalrelocs.ll

Issue 659513005: Allow conditional lit tests in Subzero, based on build flags. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add -Wno-error=unused-parameter 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/global.ll ('k') | tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.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 ; Tests if we handle global variables with relocation initializers. 1 ; Tests if we handle global variables with relocation initializers.
2 2
3 ; Test that we handle it in the ICE converter. 3 ; Test that we handle it in the ICE converter.
4 ; RUN: %lc2i -i %s --args -verbose inst | FileCheck %s 4 ; RUN: %lc2i -i %s --args -verbose inst | %iflc FileCheck %s
5 5
6 ; Test that we handle it using Subzero's bitcode reader. 6 ; Test that we handle it using Subzero's bitcode reader.
7 ; RUN: %p2i -i %s --args -verbose inst | FileCheck %s 7 ; RUN: %p2i -i %s --args -verbose inst | FileCheck %s
8 8
9 @bytes = internal global [7 x i8] c"abcdefg" 9 @bytes = internal global [7 x i8] c"abcdefg"
10 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg" 10 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg"
11 ; CHECK: .type bytes,@object 11 ; CHECK: .type bytes,@object
12 ; CHECK: .section .data,"aw",@progbits 12 ; CHECK: .section .data,"aw",@progbits
13 ; CHECK:bytes: 13 ; CHECK:bytes:
14 ; CHECK: .byte 97 14 ; CHECK: .byte 97
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 ; CHECK:short: 249 ; CHECK:short:
250 ; CHECK: .zero 2 250 ; CHECK: .zero 2
251 ; CHECK: .size short, 2 251 ; CHECK: .size short, 2
252 252
253 define void @func() { 253 define void @func() {
254 ret void 254 ret void
255 } 255 }
256 256
257 ; CHECK: define void @func() { 257 ; CHECK: define void @func() {
258 258
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/global.ll ('k') | tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698