#5750: Pretty-print LLVM .ll output files
------------------------------+---------------------------------------------
 Reporter:  tibbe             |          Owner:  dterei          
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler (LLVM) 
  Version:  7.2.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  Other             |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 When working on the LLVM backend you sometimes have to read the generated
 LLVM assembly (stored in .ll files). The current output is quite hard to
 read. I suggest we try to mimic the output of llvm-dis by:

  * indenting each instruction by one tab (or two spaces if we want to be
 identical to llvm-dis),
  * adding a newline after each basic block (this will also have the effect
 of separating defines from each other as they all have at least on basic
 block), and
  * adding a newline after each declare.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to