[llvm-commits] [PATCH] Fix SciMark2-C test case hanging

Duncan Sands baldrick at free.fr
Wed Oct 10 22:50:30 PDT 2012


Hi Simon,

> Test case MultiSource\Benchmarks\SciMark2-C hangs [1] due excessive
> optimization of SparseCompRow_matmult() routine. This function
> computes a matrix-vector multiply with a sparse matrix. The result
> vector is not used and optimizer throws away the function's body.

how could this cause a hang?

  The
> attached patch does a trick to prevent optimization and fixes this
> problem.

Are you saying that the optimization is wrong?  If so it is the optimizers
that should be fixed...

Ciao, Duncan.

>
> Please review the patch.
>
> 1. http://lab.llvm.org:8011/builders/clang-x86_64-debian-fnt/builds/10872/steps/make.test-suite/logs/stdio
> (search "TIMING OUT PROCESS: Output/scimark2.llc" string)
>
> --
> Simon
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list