summaryrefslogtreecommitdiff
path: root/lib/tsan
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-06 17:09:08 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-06 17:09:08 +0000
commitaf3a7b5594e854f434e4b5f990e0f758aa81832a (patch)
tree1a670e5b0781cf3e4b8e089fa4881b6a2137013d /lib/tsan
parentc4b0a1a3e563b3369e43710f67e34948f11be416 (diff)
[TSan] Adjust expectation for check_analyze.sh
r299658 fixed a case where InstCombine was replicating instructions instead of combining. Fixing this reduced the number of pushes and pops in the __tsan_read and __tsan_write functions. Adjust the expectations to account for this after talking to Dmitry Vyukov. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan')
-rwxr-xr-xlib/tsan/check_analyze.sh12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/tsan/check_analyze.sh b/lib/tsan/check_analyze.sh
index a5d3632df..d454ec2dd 100755
--- a/lib/tsan/check_analyze.sh
+++ b/lib/tsan/check_analyze.sh
@@ -26,22 +26,16 @@ check() {
fi
}
-for f in write1; do
+for f in write1 write2 write4 write8; do
check $f rsp 1
check $f push 2
check $f pop 2
done
-for f in write2 write4 write8; do
- check $f rsp 1
- check $f push 3
- check $f pop 3
-done
-
for f in read1 read2 read4 read8; do
check $f rsp 1
- check $f push 5
- check $f pop 5
+ check $f push 4
+ check $f pop 4
done
for f in func_entry func_exit; do