[PATCH] D25346: [test-suite] [Polybench] run tests twice with -ffp-contract=on/off

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 16 06:54:08 PDT 2016


rengolin added inline comments.


================
Comment at: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/doitgen/doitgen.c:28
 {
+#pragma STDC FP_CONTRACT OFF
   int i, j, k;
----------------
rengolin wrote:
> Maybe I understood it wrong, is this pragma's lifetime ended by the end of the function?
> 
> If so, then the remaining functions will not have the contract on, and the attribute will also remain in this context.
> 
> If that's so, than I think it should be fine.
It seems that the interpretation, ignore me, it's been a long week...


https://reviews.llvm.org/D25346





More information about the llvm-commits mailing list