[GHC] #9425: ghc-HEAD (only in -O -fllvm aka 'optllvm') prunes yield in -fno-omit-yields mode

GHC ghc-devs at haskell.org
Fri Aug 8 22:29:58 UTC 2014


#9425: ghc-HEAD  (only in -O -fllvm aka 'optllvm') prunes yield in -fno-omit-
yields mode
-------------------------------------+-------------------------------------
              Reporter:  slyfox      |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 LLVM assumes that `HpLim` (which is located at `0x358(%r13)`) is not
 changing during the loop. We need to emit whatever LLVM assembly language
 construction tells LLVM to assume that `HpLim` might change (`load
 volatile` perhaps?)

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


More information about the ghc-tickets mailing list