diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-10-03 13:13:54 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-10-03 13:13:54 +0000 |
commit | 03fe214515af709b6927f7546cb4d133ce4082be (patch) | |
tree | a321348c199a62c50498e7fa2622aec6da6c877f /test/Instrumentation | |
parent | 9a8c112dae24b72c691f77c782b1b34864ee3445 (diff) |
tsan: update the test for new atomic enums
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Instrumentation')
-rw-r--r-- | test/Instrumentation/ThreadSanitizer/atomic.ll | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/test/Instrumentation/ThreadSanitizer/atomic.ll b/test/Instrumentation/ThreadSanitizer/atomic.ll index 02bf215c6b..6ce796fd80 100644 --- a/test/Instrumentation/ThreadSanitizer/atomic.ll +++ b/test/Instrumentation/ThreadSanitizer/atomic.ll @@ -4,7 +4,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3 define i8 @atomic8_load_unordered(i8* %a) nounwind uwtable { entry: - %0 = load atomic i8* %a unordered, align 1 + %0 = load atomic i8* %a unordered, align 100501 ret i8 %0 } ; CHECK: atomic8_load_unordered @@ -12,7 +12,7 @@ entry: define i8 @atomic8_load_monotonic(i8* %a) nounwind uwtable { entry: - %0 = load atomic i8* %a monotonic, align 1 + %0 = load atomic i8* %a monotonic, align 100501 ret i8 %0 } ; CHECK: atomic8_load_monotonic @@ -20,7 +20,7 @@ entry: define i8 @atomic8_load_acquire(i8* %a) nounwind uwtable { entry: - %0 = load atomic i8* %a acquire, align 1 + %0 = load atomic i8* %a acquire, align 100501 ret i8 %0 } ; CHECK: atomic8_load_acquire @@ -28,7 +28,7 @@ entry: define i8 @atomic8_load_seq_cst(i8* %a) nounwind uwtable { entry: - %0 = load atomic i8* %a seq_cst, align 1 + %0 = load atomic i8* %a seq_cst, align 100501 ret i8 %0 } ; CHECK: atomic8_load_seq_cst @@ -36,7 +36,7 @@ entry: define void @atomic8_store_unordered(i8* %a) nounwind uwtable { entry: - store atomic i8 0, i8* %a unordered, align 1 + store atomic i8 0, i8* %a unordered, align 100501 ret void } ; CHECK: atomic8_store_unordered @@ -44,7 +44,7 @@ entry: define void @atomic8_store_monotonic(i8* %a) nounwind uwtable { entry: - store atomic i8 0, i8* %a monotonic, align 1 + store atomic i8 0, i8* %a monotonic, align 100501 ret void } ; CHECK: atomic8_store_monotonic @@ -52,7 +52,7 @@ entry: define void @atomic8_store_release(i8* %a) nounwind uwtable { entry: - store atomic i8 0, i8* %a release, align 1 + store atomic i8 0, i8* %a release, align 100501 ret void } ; CHECK: atomic8_store_release @@ -60,7 +60,7 @@ entry: define void @atomic8_store_seq_cst(i8* %a) nounwind uwtable { entry: - store atomic i8 0, i8* %a seq_cst, align 1 + store atomic i8 0, i8* %a seq_cst, align 100501 ret void } ; CHECK: atomic8_store_seq_cst @@ -68,7 +68,7 @@ entry: define i16 @atomic16_load_unordered(i16* %a) nounwind uwtable { entry: - %0 = load atomic i16* %a unordered, align 2 + %0 = load atomic i16* %a unordered, align 100502 ret i16 %0 } ; CHECK: atomic16_load_unordered @@ -76,7 +76,7 @@ entry: define i16 @atomic16_load_monotonic(i16* %a) nounwind uwtable { entry: - %0 = load atomic i16* %a monotonic, align 2 + %0 = load atomic i16* %a monotonic, align 100502 ret i16 %0 } ; CHECK: atomic16_load_monotonic @@ -84,7 +84,7 @@ entry: define i16 @atomic16_load_acquire(i16* %a) nounwind uwtable { entry: - %0 = load atomic i16* %a acquire, align 2 + %0 = load atomic i16* %a acquire, align 100502 ret i16 %0 } ; CHECK: atomic16_load_acquire @@ -92,7 +92,7 @@ entry: define i16 @atomic16_load_seq_cst(i16* %a) nounwind uwtable { entry: - %0 = load atomic i16* %a seq_cst, align 2 + %0 = load atomic i16* %a seq_cst, align 100502 ret i16 %0 } ; CHECK: atomic16_load_seq_cst @@ -100,7 +100,7 @@ entry: define void @atomic16_store_unordered(i16* %a) nounwind uwtable { entry: - store atomic i16 0, i16* %a unordered, align 2 + store atomic i16 0, i16* %a unordered, align 100502 ret void } ; CHECK: atomic16_store_unordered @@ -108,7 +108,7 @@ entry: define void @atomic16_store_monotonic(i16* %a) nounwind uwtable { entry: - store atomic i16 0, i16* %a monotonic, align 2 + store atomic i16 0, i16* %a monotonic, align 100502 ret void } ; CHECK: atomic16_store_monotonic @@ -116,7 +116,7 @@ entry: define void @atomic16_store_release(i16* %a) nounwind uwtable { entry: - store atomic i16 0, i16* %a release, align 2 + store atomic i16 0, i16* %a release, align 100502 ret void } ; CHECK: atomic16_store_release @@ -124,7 +124,7 @@ entry: define void @atomic16_store_seq_cst(i16* %a) nounwind uwtable { entry: - store atomic i16 0, i16* %a seq_cst, align 2 + store atomic i16 0, i16* %a seq_cst, align 100502 ret void } ; CHECK: atomic16_store_seq_cst @@ -132,7 +132,7 @@ entry: define i32 @atomic32_load_unordered(i32* %a) nounwind uwtable { entry: - %0 = load atomic i32* %a unordered, align 4 + %0 = load atomic i32* %a unordered, align 100504 ret i32 %0 } ; CHECK: atomic32_load_unordered @@ -140,7 +140,7 @@ entry: define i32 @atomic32_load_monotonic(i32* %a) nounwind uwtable { entry: - %0 = load atomic i32* %a monotonic, align 4 + %0 = load atomic i32* %a monotonic, align 100504 ret i32 %0 } ; CHECK: atomic32_load_monotonic @@ -148,7 +148,7 @@ entry: define i32 @atomic32_load_acquire(i32* %a) nounwind uwtable { entry: - %0 = load atomic i32* %a acquire, align 4 + %0 = load atomic i32* %a acquire, align 100504 ret i32 %0 } ; CHECK: atomic32_load_acquire @@ -156,7 +156,7 @@ entry: define i32 @atomic32_load_seq_cst(i32* %a) nounwind uwtable { entry: - %0 = load atomic i32* %a seq_cst, align 4 + %0 = load atomic i32* %a seq_cst, align 100504 ret i32 %0 } ; CHECK: atomic32_load_seq_cst @@ -164,7 +164,7 @@ entry: define void @atomic32_store_unordered(i32* %a) nounwind uwtable { entry: - store atomic i32 0, i32* %a unordered, align 4 + store atomic i32 0, i32* %a unordered, align 100504 ret void } ; CHECK: atomic32_store_unordered @@ -172,7 +172,7 @@ entry: define void @atomic32_store_monotonic(i32* %a) nounwind uwtable { entry: - store atomic i32 0, i32* %a monotonic, align 4 + store atomic i32 0, i32* %a monotonic, align 100504 ret void } ; CHECK: atomic32_store_monotonic @@ -180,7 +180,7 @@ entry: define void @atomic32_store_release(i32* %a) nounwind uwtable { entry: - store atomic i32 0, i32* %a release, align 4 + store atomic i32 0, i32* %a release, align 100504 ret void } ; CHECK: atomic32_store_release @@ -188,7 +188,7 @@ entry: define void @atomic32_store_seq_cst(i32* %a) nounwind uwtable { entry: - store atomic i32 0, i32* %a seq_cst, align 4 + store atomic i32 0, i32* %a seq_cst, align 100504 ret void } ; CHECK: atomic32_store_seq_cst @@ -196,7 +196,7 @@ entry: define i64 @atomic64_load_unordered(i64* %a) nounwind uwtable { entry: - %0 = load atomic i64* %a unordered, align 8 + %0 = load atomic i64* %a unordered, align 100508 ret i64 %0 } ; CHECK: atomic64_load_unordered @@ -204,7 +204,7 @@ entry: define i64 @atomic64_load_monotonic(i64* %a) nounwind uwtable { entry: - %0 = load atomic i64* %a monotonic, align 8 + %0 = load atomic i64* %a monotonic, align 100508 ret i64 %0 } ; CHECK: atomic64_load_monotonic @@ -212,7 +212,7 @@ entry: define i64 @atomic64_load_acquire(i64* %a) nounwind uwtable { entry: - %0 = load atomic i64* %a acquire, align 8 + %0 = load atomic i64* %a acquire, align 100508 ret i64 %0 } ; CHECK: atomic64_load_acquire @@ -220,7 +220,7 @@ entry: define i64 @atomic64_load_seq_cst(i64* %a) nounwind uwtable { entry: - %0 = load atomic i64* %a seq_cst, align 8 + %0 = load atomic i64* %a seq_cst, align 100508 ret i64 %0 } ; CHECK: atomic64_load_seq_cst @@ -228,7 +228,7 @@ entry: define void @atomic64_store_unordered(i64* %a) nounwind uwtable { entry: - store atomic i64 0, i64* %a unordered, align 8 + store atomic i64 0, i64* %a unordered, align 100508 ret void } ; CHECK: atomic64_store_unordered @@ -236,7 +236,7 @@ entry: define void @atomic64_store_monotonic(i64* %a) nounwind uwtable { entry: - store atomic i64 0, i64* %a monotonic, align 8 + store atomic i64 0, i64* %a monotonic, align 100508 ret void } ; CHECK: atomic64_store_monotonic @@ -244,7 +244,7 @@ entry: define void @atomic64_store_release(i64* %a) nounwind uwtable { entry: - store atomic i64 0, i64* %a release, align 8 + store atomic i64 0, i64* %a release, align 100508 ret void } ; CHECK: atomic64_store_release @@ -252,7 +252,7 @@ entry: define void @atomic64_store_seq_cst(i64* %a) nounwind uwtable { entry: - store atomic i64 0, i64* %a seq_cst, align 8 + store atomic i64 0, i64* %a seq_cst, align 100508 ret void } ; CHECK: atomic64_store_seq_cst @@ -260,7 +260,7 @@ entry: define i128 @atomic128_load_unordered(i128* %a) nounwind uwtable { entry: - %0 = load atomic i128* %a unordered, align 16 + %0 = load atomic i128* %a unordered, align 100516 ret i128 %0 } ; CHECK: atomic128_load_unordered @@ -268,7 +268,7 @@ entry: define i128 @atomic128_load_monotonic(i128* %a) nounwind uwtable { entry: - %0 = load atomic i128* %a monotonic, align 16 + %0 = load atomic i128* %a monotonic, align 100516 ret i128 %0 } ; CHECK: atomic128_load_monotonic @@ -276,7 +276,7 @@ entry: define i128 @atomic128_load_acquire(i128* %a) nounwind uwtable { entry: - %0 = load atomic i128* %a acquire, align 16 + %0 = load atomic i128* %a acquire, align 100516 ret i128 %0 } ; CHECK: atomic128_load_acquire @@ -284,7 +284,7 @@ entry: define i128 @atomic128_load_seq_cst(i128* %a) nounwind uwtable { entry: - %0 = load atomic i128* %a seq_cst, align 16 + %0 = load atomic i128* %a seq_cst, align 100516 ret i128 %0 } ; CHECK: atomic128_load_seq_cst @@ -292,7 +292,7 @@ entry: define void @atomic128_store_unordered(i128* %a) nounwind uwtable { entry: - store atomic i128 0, i128* %a unordered, align 16 + store atomic i128 0, i128* %a unordered, align 100516 ret void } ; CHECK: atomic128_store_unordered @@ -300,7 +300,7 @@ entry: define void @atomic128_store_monotonic(i128* %a) nounwind uwtable { entry: - store atomic i128 0, i128* %a monotonic, align 16 + store atomic i128 0, i128* %a monotonic, align 100516 ret void } ; CHECK: atomic128_store_monotonic @@ -308,7 +308,7 @@ entry: define void @atomic128_store_release(i128* %a) nounwind uwtable { entry: - store atomic i128 0, i128* %a release, align 16 + store atomic i128 0, i128* %a release, align 100516 ret void } ; CHECK: atomic128_store_release @@ -316,7 +316,7 @@ entry: define void @atomic128_store_seq_cst(i128* %a) nounwind uwtable { entry: - store atomic i128 0, i128* %a seq_cst, align 16 + store atomic i128 0, i128* %a seq_cst, align 100516 ret void } ; CHECK: atomic128_store_seq_cst |