[LLVMdev] x86-64 large stack offsets

Duncan Sands baldrick at free.fr
Tue Sep 27 01:04:53 PDT 2011


Hi Jakob,

> The fundamental problem is that currently nothing in the x86 target depends on correct liveness after register allocation. Since many post-RA passes modify the code, there is a good chance they will update liveness incorrectly, or not at all in some cases.
>
> Your patches to clean this up will be welcome, but please make x86's using the register scavenger enabled by a command line flag. The majority of x86 users don't want to pay the (small) compile time cost and risk of assertions.

wouldn't adding a command line flag just make this feature less tested and
more unreliable?  It hardly seems worth adding it if it is so unreliable
that it typically has to be turned off.

Ciao, Duncan.



More information about the llvm-dev mailing list