[llvm-commits] [PATCH] Fix SciMark2-C test case hanging
Simon Atanasyan
satanasyan at mips.com
Wed Oct 10 12:32:00 PDT 2012
Hi,
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. The
attached patch does a trick to prevent optimization and fixes this
problem.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scimark2-timeout.patch
Type: application/octet-stream
Size: 465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121010/93eb38f9/attachment.obj>
More information about the llvm-commits
mailing list