rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
95.44k stars 12.29k forks source link

Improve LLVM IR Code generation #6819

Closed Aatch closed 10 years ago

Aatch commented 11 years ago

This is a metabug to group together a bunch of related issues do with our current generation of LLVM IR.

The IR we produce is very verbose, this causes an inordinate amount of time to be spent during the optimization passes that we could trivially prevent by simply not outputting these sequences.

Instrumentation and testing issues

(see http://people.mozilla.org/~graydon/symbols-by-name.txt)

graydon commented 11 years ago

See -Z count-llvm-insns and pipe output to xdu.

Aatch commented 11 years ago

@graydon or, for people that do not have xdu, if you have xdiskusage instead, you can do rustc foo.rs -Z count-llvm-insns | xdiskusage

farnoy commented 10 years ago

Sorry for going off topic a bit, but this could improve readability of these kinds of metabugs: https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments

thestinger commented 10 years ago

I think this kind of categorization is covered well by the usage of tags (I-slow, I-compiletime). It's not ever going to be possible to complete this metabug or mark it as a milestone so I don't see much value in leaving it open forever. The discussion here is out of date too.