summaryrefslogtreecommitdiffstats
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
commitd3115972bf62ba3119b9110b2bd46b72cce015a3 (patch)
treef606799b5d2725dde5ed86b522cc0e7671faaafe
parentab932bcbfdbda2fd78773ae9412bb75c73cc0751 (diff)
downloadbcm5719-llvm-d3115972bf62ba3119b9110b2bd46b72cce015a3.tar.gz
bcm5719-llvm-d3115972bf62ba3119b9110b2bd46b72cce015a3.zip
[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. llvm-svn: 299661
-rwxr-xr-xcompiler-rt/lib/tsan/check_analyze.sh12
1 files changed, 3 insertions, 9 deletions
diff --git a/compiler-rt/lib/tsan/check_analyze.sh b/compiler-rt/lib/tsan/check_analyze.sh
index a5d3632dfa5..d454ec2dd0f 100755
--- a/compiler-rt/lib/tsan/check_analyze.sh
+++ b/compiler-rt/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
OpenPOWER on IntegriCloud