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

Side by Side Diff: tests_lit/llvm2ice_tests/abi-atomics.ll

Issue 1019233002: Subzero: Fix floating-point constant pooling. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a comment on use of default std::hash Created 5 years, 9 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/IceGlobalContext.cpp ('k') | tests_lit/llvm2ice_tests/fp_const_pool.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 file is copied/adapted from llvm/test/NaCl/PNaClABI/abi-atomics.ll . 1 ; This file is copied/adapted from llvm/test/NaCl/PNaClABI/abi-atomics.ll .
2 ; TODO(stichnot): Find a way to share the file to avoid divergence. 2 ; TODO(stichnot): Find a way to share the file to avoid divergence.
3 3
4 ; REQUIRES: allow_dump
5
4 ; RUN: %p2i -i %s --args --verbose none --exit-success -threads=0 2>&1 \ 6 ; RUN: %p2i -i %s --args --verbose none --exit-success -threads=0 2>&1 \
5 ; RUN: | FileCheck %s 7 ; RUN: | FileCheck %s
6 8
7 declare i8 @llvm.nacl.atomic.load.i8(i8*, i32) 9 declare i8 @llvm.nacl.atomic.load.i8(i8*, i32)
8 declare i16 @llvm.nacl.atomic.load.i16(i16*, i32) 10 declare i16 @llvm.nacl.atomic.load.i16(i16*, i32)
9 declare i32 @llvm.nacl.atomic.load.i32(i32*, i32) 11 declare i32 @llvm.nacl.atomic.load.i32(i32*, i32)
10 declare i64 @llvm.nacl.atomic.load.i64(i64*, i32) 12 declare i64 @llvm.nacl.atomic.load.i64(i64*, i32)
11 declare void @llvm.nacl.atomic.store.i8(i8, i8*, i32) 13 declare void @llvm.nacl.atomic.store.i8(i8, i8*, i32)
12 declare void @llvm.nacl.atomic.store.i16(i16, i16*, i32) 14 declare void @llvm.nacl.atomic.store.i16(i16, i16*, i32)
13 declare void @llvm.nacl.atomic.store.i32(i32, i32*, i32) 15 declare void @llvm.nacl.atomic.store.i32(i32, i32*, i32)
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 call void @llvm.nacl.atomic.fence(i32 2) 527 call void @llvm.nacl.atomic.fence(i32 2)
526 ret void 528 ret void
527 } 529 }
528 ; CHECK: test_fence_consume: Unexpected memory ordering for AtomicFence 530 ; CHECK: test_fence_consume: Unexpected memory ordering for AtomicFence
529 531
530 define internal void @test_fence_relaxed() { 532 define internal void @test_fence_relaxed() {
531 call void @llvm.nacl.atomic.fence(i32 1) 533 call void @llvm.nacl.atomic.fence(i32 1)
532 ret void 534 ret void
533 } 535 }
534 ; CHECK: test_fence_relaxed: Unexpected memory ordering for AtomicFence 536 ; CHECK: test_fence_relaxed: Unexpected memory ordering for AtomicFence
OLDNEW
« no previous file with comments | « src/IceGlobalContext.cpp ('k') | tests_lit/llvm2ice_tests/fp_const_pool.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698