[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:46:21 PDT 2015


----- Original Message -----
> From: "Hal Finkel via llvm-commits" <llvm-commits at lists.llvm.org>
> To: llvm-commits at lists.llvm.org
> Sent: Friday, October 23, 2015 3:37:51 PM
> Subject: [compiler-rt] r251147 - Fixup test/ubsan/TestCases/Misc/coverage-levels.cc, LLVM is smarter
> 
> 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

For the record, this new LLVM intelligence corresponds to r251146.

 -Hal

> 
> 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
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-commits mailing list