[LLVMdev] alias information in codegen

Duncan Sands baldrick at free.fr
Fri Apr 4 02:24:54 PDT 2008


> * There are still a variety of places in SelectionDAG creation that
>    don't preserve SVOperand/SVOffset (as well as alignment and  
> volatile).
> These places need to be found and fixed. This is pretty straight- 
> forward,
> and the places that need changing can be found by inserting some
> strategic assert(SVOperand)'s.

I've seen at least one place that passed through the original
SVOperand and SVOffset, but incorrectly forget to adjust SVOffset.
The assert you suggest wouldn't catch this.  There really need
to be some new or better methods to make it hard to get this kind
of thing wrong (currently it is hard to get it right!).



More information about the llvm-dev mailing list