[LLVMdev] SUBREG instructions and mayLoad/mayStore/etc.

Dan Gohman gohman at apple.com
Wed Mar 19 15:23:56 PDT 2008


On Mar 18, 2008, at 6:23 PM, Evan Cheng wrote:
>>
>> This isn't currently being reflected in the InstrInfo tables.
>> Naively, it seems like we should add a separate INSERT_SUBREGrm
>> instruction, and so on, or something like that, in order to be able
>> to have accurate InstrInfo tables. Does anyone familiar with the
>> new subregs infastructure have an opinion on this?
>
> This is saying the pattern should be isel into two instructions.
> MOV32rm is obviously a load, but INSERT_SUBREG doesn't load or store.

Thanks, this is where I was confused.

Dan




More information about the llvm-dev mailing list