[LLVMdev] disabling combining load/stores in optimizer.

Chris Lattner clattner at apple.com
Mon Aug 3 14:28:11 PDT 2009


On Aug 3, 2009, at 1:20 PM, Alireza.Moshtaghi at microchip.com wrote:

>>> The optimizer can currently combine stores (i32, i32) to a single
>>> i64 store operation. Is there a way to disable that?
>>
>> Not currently. There are some ideas floating around about
>> including in TargetData a list of integer types that the
>> target natively supports, which would allow instcombine
>> and other passes to make more informed decisions, but
>> at this point it's just ideas.
>
> There are other cases that we can benefit from such ideas. Could you
> please give pointer to these discussions?

See "Adding legal integer sizes to TargetData" on Feb 1, 2009 on  
llvmdev.

-Chris




More information about the llvm-dev mailing list