[LLVMdev] Strange LLVM Crash
Eric Christopher
echristo at apple.com
Sun Mar 15 18:21:42 PDT 2009
On Mar 15, 2009, at 7:55 AM, Nyx wrote:
>
> Is there a webpage documenting these function passes?
Here's some:
http://llvm.org/docs/WritingAnLLVMPass.html#FunctionPass
You can also look in llvm/lib/Transforms/Scalar for runOnFunction ()
> Which ones should I run
> to maximize performance?
There's no right way to determine this. It depends on what you need/
want from your code.
> Also, do the machine function passes automatically
> run (I'm assuming those optimize the final x86 code).
Yes. Don't forget to add the target data pass.
-eric
More information about the llvm-dev
mailing list