[LLVMdev] Turning on LegalizeTypes by default

OvermindDL1 overminddl1 at gmail.com
Tue Oct 28 12:29:29 PDT 2008


On Sun, Oct 26, 2008 at 2:03 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi all, I plan to turn on the new type legalization infrastructure
> "LegalizeTypes" by default tomorrow.  This is a redesign/reimplementation
> of the logic currently in LegalizeDAG that turns (for example) 64 bit
> arithmetic on a 32 bit machine into a series of 32 bit operations.  As well
> as being a cleaner design, it also supports code generation for arbitrary
> precision integers such as i123.

You state that it properly lowers higher bit mathematics and odd
precision ints on systems.  Will it handle, say, an i1097 on an x86
system, by lowering it to high precision math, or will it ignore it
and have the compile fail as normal?



More information about the llvm-dev mailing list