[GHC] #7589: LLVM 3.2 Support

GHC cvs-ghc at haskell.org
Wed Jan 16 02:27:39 CET 2013


#7589: LLVM 3.2 Support
----------------------------------------+-----------------------------------
Reporter:  dterei                       |          Owner:  dterei          
    Type:  bug                          |         Status:  new             
Priority:  normal                       |      Component:  Compiler (LLVM) 
 Version:  7.7                          |       Keywords:                  
      Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
 Failure:  Incorrect result at runtime  |      Blockedby:                  
Blocking:                               |        Related:                  
----------------------------------------+-----------------------------------
Description changed by dterei:

Old description:

> LLVM 3.2 is out as of mid December. We need to update the backend to
> support it.
>
> There seems to be a number of new bugs due to the change.
>
> With LLVM 3.1 we get the following testsuite failures:
>
> {{{
>
> OVERALL SUMMARY for test run started at Mon Jan 14 21:42:32 PST 2013
>     3552 total tests, which gave rise to
>    13164 test cases, of which
>        0 caused framework failures
>    11606 were skipped
>
>     1515 expected passes
>       23 had missing libraries
>       15 expected failures
>        0 unexpected passes
>        5 unexpected failures
>
> Unexpected failures:
> *  codeGen/should_run        cgrun044 [exit code non-0] (optllvm)
> *  concurrent/should_run     367_letnoescape [bad exit code] (optllvm)
> *  numeric/should_run        arith005 [bad stdout] (optllvm)
>    typecheck/should_compile  tc226 [exit code non-0] (optllvm)
>    typecheck/should_compile  tc235 [exit code non-0] (optllvm)
> }}}
>
> Where the failures marked with '*' are unique to the LLVM backend.
>
> With LLVM 3.2 we get the following:
>
> {{{
> OVERALL SUMMARY for test run started at Tue Jan 15 16:02:01 PST 2013
>     3552 total tests, which gave rise to
>    13164 test cases, of which
>        0 caused framework failures
>    11606 were skipped
>
>     1512 expected passes
>       23 had missing libraries
>       15 expected failures
>        0 unexpected passes
>        8 unexpected failures
>
> Unexpected failures:
> ** codeGen/should_compile    1916 [exit code non-0] (optllvm)
> ** codeGen/should_run        cgrun028 [exit code non-0] (optllvm)
> *  codeGen/should_run        cgrun044 [exit code non-0] (optllvm)
> *  concurrent/should_run     367_letnoescape [bad exit code] (optllvm)
> *  numeric/should_run        arith005 [bad stdout] (optllvm)
> ** numeric/should_run        numrun012 [exit code non-0] (optllvm)
>    typecheck/should_compile  tc226 [exit code non-0] (optllvm)
>    typecheck/should_compile  tc235 [exit code non-0] (optllvm)
> }}}
>
> Where failures marked with '*' are unique to the LLVM backend and
> failures marked with '**' are unique to LLVM 3.2 relative to 3.1.
>
> I believe bootstrapping with LLVM also fails now. However, that may be
> due to the change to the new-code-generator, and not of LLVM 3.1 -> 3.2.
> I'll create a separate ticket for that.
>
> '''NOTE''': These test suite results were all generated on Mac OS X 10.8.

New description:

 LLVM 3.2 is out as of mid December. We need to update the backend to
 support it.

 There seems to be a number of new bugs due to the change.

 With LLVM 3.1 we get the following testsuite failures:

 {{{

 OVERALL SUMMARY for test run started at Mon Jan 14 21:42:32 PST 2013
     3552 total tests, which gave rise to
    13164 test cases, of which
        0 caused framework failures
    11606 were skipped

     1515 expected passes
       23 had missing libraries
       15 expected failures
        0 unexpected passes
        5 unexpected failures

 Unexpected failures:
 *  codeGen/should_run        cgrun044 [exit code non-0] (optllvm)
 *  concurrent/should_run     367_letnoescape [bad exit code] (optllvm)
 *  numeric/should_run        arith005 [bad stdout] (optllvm)
    typecheck/should_compile  tc226 [exit code non-0] (optllvm)
    typecheck/should_compile  tc235 [exit code non-0] (optllvm)
 }}}

 Where the failures marked with '*' are unique to the LLVM backend.

 With LLVM 3.2 we get the following:

 {{{
 OVERALL SUMMARY for test run started at Tue Jan 15 16:02:01 PST 2013
     3552 total tests, which gave rise to
    13164 test cases, of which
        0 caused framework failures
    11606 were skipped

     1512 expected passes
       23 had missing libraries
       15 expected failures
        0 unexpected passes
        8 unexpected failures

 Unexpected failures:
 ** codeGen/should_compile    1916 [exit code non-0] (optllvm)
 ** codeGen/should_run        cgrun028 [exit code non-0] (optllvm)
 *  codeGen/should_run        cgrun044 [exit code non-0] (optllvm)
 *  concurrent/should_run     367_letnoescape [bad exit code] (optllvm)
 *  numeric/should_run        arith005 [bad stdout] (optllvm)
 ** numeric/should_run        numrun012 [exit code non-0] (optllvm)
    typecheck/should_compile  tc226 [exit code non-0] (optllvm)
    typecheck/should_compile  tc235 [exit code non-0] (optllvm)
 }}}

 Where failures marked with '*' are unique to the LLVM backend and failures
 marked with '**' are unique to LLVM 3.2 relative to 3.1.

 I believe bootstrapping with LLVM also fails now. However, that may be due
 to the change to the new-code-generator, and not of LLVM 3.1 -> 3.2. I'll
 create a separate ticket for that.

 '''NOTE''': These test suite results were all generated on '''Mac OS X
 10.8'''.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7589#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list