llvm.org GIT mirror llvm / 014f9fd
[TSan] Fixup a test case after r209939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209945 91177308-0d34-0410-b5e6-96231b3b80d8 Alexey Samsonov 5 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2626
2727 ; Check that tsan converts mem intrinsics back to function calls.
2828
29 define void @MemCpyTest(i8* nocapture %x, i8* nocapture %y) {
29 define void @MemCpyTest(i8* nocapture %x, i8* nocapture %y) sanitize_thread {
3030 entry:
3131 tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %x, i8* %y, i64 16, i32 4, i1 false)
3232 ret void
3535 ; CHECK: ret void
3636 }
3737
38 define void @MemMoveTest(i8* nocapture %x, i8* nocapture %y) {
38 define void @MemMoveTest(i8* nocapture %x, i8* nocapture %y) sanitize_thread {
3939 entry:
4040 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %x, i8* %y, i64 16, i32 4, i1 false)
4141 ret void
4444 ; CHECK: ret void
4545 }
4646
47 define void @MemSetTest(i8* nocapture %x) {
47 define void @MemSetTest(i8* nocapture %x) sanitize_thread {
4848 entry:
4949 tail call void @llvm.memset.p0i8.i64(i8* %x, i8 77, i64 16, i32 4, i1 false)
5050 ret void