[compiler-rt] r251147 - Fixup test/ubsan/TestCases/Misc/coverage-levels.cc, LLVM is smarter

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 23 13:37:51 PDT 2015


Author: hfinkel
Date: Fri Oct 23 15:37:51 2015
New Revision: 251147

URL: http://llvm.org/viewvc/llvm-project?rev=251147&view=rev
Log:
Fixup test/ubsan/TestCases/Misc/coverage-levels.cc, LLVM is smarter

Fixing up this test case because LLVM is smarter now, and can better analyze:

  if ((argc << shift) == 16)

in this test case.

Modified:
    compiler-rt/trunk/test/ubsan/TestCases/Misc/coverage-levels.cc

Modified: compiler-rt/trunk/test/ubsan/TestCases/Misc/coverage-levels.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Misc/coverage-levels.cc?rev=251147&r1=251146&r2=251147&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Misc/coverage-levels.cc (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Misc/coverage-levels.cc Fri Oct 23 15:37:51 2015
@@ -38,4 +38,4 @@ int main(int argc, char **argv) {
 // to dump coverage.
 // CHECK1:  1 PCs written
 // CHECK2:  3 PCs written
-// CHECK3:  4 PCs written
+// CHECK3:  3 PCs written




More information about the llvm-commits mailing list