[GHC] #13724: Clamping of llvm llc to -O1 and -O2

GHC ghc-devs at haskell.org
Fri May 19 02:26:08 UTC 2017


#13724: Clamping of llvm llc to -O1 and -O2
-------------------------------------+-------------------------------------
        Reporter:  angerman          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler (LLVM)   |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by angerman):

 Note that you can pass `-debug-pass=Structure` and `-debug-pass=Arguments`
 as arguments to `opt` and `llc.

 as in
 {{{
 llc -O1 -debug-pass=Structure < /dev/null >/dev/nulll
 }}}
 or with a triple:
 {{{
 llc -mtriple=arm-unknown-linux-gnueabihf -O1 -debug-pass=Structure <
 /dev/null >/dev/nulll
 }}}

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


More information about the ghc-tickets mailing list