[compiler-rt] r299661 - [TSan] Adjust expectation for check_analyze.sh

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 10:09:09 PDT 2017


Author: ctopper
Date: Thu Apr  6 12:09:08 2017
New Revision: 299661

URL: http://llvm.org/viewvc/llvm-project?rev=299661&view=rev
Log:
[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.


Modified:
    compiler-rt/trunk/lib/tsan/check_analyze.sh

Modified: compiler-rt/trunk/lib/tsan/check_analyze.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/check_analyze.sh?rev=299661&r1=299660&r2=299661&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/check_analyze.sh (original)
+++ compiler-rt/trunk/lib/tsan/check_analyze.sh Thu Apr  6 12:09:08 2017
@@ -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




More information about the llvm-commits mailing list