[test-suite] r284334 - [polybench] check against strict fp

Sebastian Pop via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 16 16:41:39 PDT 2016


I missed adding a definition to the Makefile.
Fixed in r284354.

Sebastian

On Sun, Oct 16, 2016 at 2:56 PM, Renato Golin via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> On 16 October 2016 at 15:54, Sebastian Pop via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: spop
>> Date: Sun Oct 16 09:54:16 2016
>> New Revision: 284334
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=284334&view=rev
>> Log:
>> [polybench] check against strict fp
>>
>> This patch makes each test in polybench to run twice: once with the flags
>> specified by the user, and once with strict FP computations: optnone and
>> fp-contract=off.  The results are then compared in memory with FP_ABSTOLERANCE.
>> If there are differences, the program stops returning 1.  The output of the
>> strict FP computation is printed in a file and compared against a hashed
>> reference output.
>>
>> With this patch the polybench will pass when the test-suite is compiled with
>> -ffp-contract=on.
>
> Hi Sebastian,
>
> Your commit introduced this test-suite failure:
>
> http://lab.llvm.org:8011/builders/clang-cmake-aarch64-quick/builds/11121
>
> /home/buildslave/buildslave/clang-cmake-aarch64-quick/test/test-suite/SingleSource/Benchmarks/Polybench/linear-algebra/kernels/mvt/mvt.c:117:25:
> error: use of undeclared identifier 'FP_ABSTOLERANCE'
>   double AbsTolerance = FP_ABSTOLERANCE;
>                         ^
>
> Missing a header?
>
> cheers,
> --renato
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list