[LLVMdev] ML types in LLVM

Duncan Sands baldrick at free.fr
Sun Jun 14 06:53:06 PDT 2009


Wesley W. Terpstra wrote:
> On Sun, Jun 14, 2009 at 10:50 AM, Florian Weimer<fw at deneb.enyo.de> wrote:
>> Is this really a problem for MLton?  I think you only get less precise
>> alias analysis, and that's it.
> 
> Correct. However, I want a fair comparison between LLVM performance
> and the native x86 codegen. If I don't give LLVM the same information
> the x86 codegen has, it's an unfair comparison.

I don't think alias analysis currently pays any attention to the
pointer type, so using i8* and bitcasting to the right types
shouldn't hurt.  I could be wrong though.

Ciao,

Duncan.



More information about the llvm-dev mailing list