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

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 16:55:58 PST 2016


Author: samsonov
Date: Fri Feb 12 18:55:58 2016
New Revision: 260775

URL: http://llvm.org/viewvc/llvm-project?rev=260775&view=rev
Log:
[TSan] Adjust expectation for check_analyze.sh

r260695 caused extra push/pop instruction pair in __tsan_read1
implementation. Still, that change in InstCombine is believed to
be good, as it reduces the number of instructions performed.

Adjust the expectations to match the newly generated code.

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=260775&r1=260774&r2=260775&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/check_analyze.sh (original)
+++ compiler-rt/trunk/lib/tsan/check_analyze.sh Fri Feb 12 18:55:58 2016
@@ -44,7 +44,13 @@ for f in write8; do
   check $f pop 3
 done
 
-for f in read1 read2 read4 read8; do
+for f in read1; do
+  check $f rsp 1
+  check $f push 6
+  check $f pop 6
+done
+
+for f in read2 read4 read8; do
   check $f rsp 1
   check $f push 5
   check $f pop 5




More information about the llvm-commits mailing list