[LLVMdev] RFA: TREE_READONLY in LLVM-GCC

Bill Wendling isanbard at gmail.com
Mon Jan 5 03:42:16 PST 2009


I did mark it as TREE_CONSTANT. Is that enough?

-bw

On Jan 5, 2009, at 2:03 AM, Duncan Sands <baldrick at free.fr> wrote:

> Hi Chris,
>
>> I think this change is fine and should go into the normal apple GCC  
>> as
>> well.  Setting TREE_READONLY means that it can go into the "constant"
>> section of the executable, go in ROM, etc.  This is the same as the
>> llvm constant bit on globals.
>
> for this I think it has to be static as well as readonly.
>
> Ciao,
>
> Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list