[llvm-commits] [llvm] r61092 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp test/CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll

Chris Lattner clattner at apple.com
Tue Dec 16 23:47:15 PST 2008


On Dec 16, 2008, at 11:42 PM, Evan Cheng wrote:

>
> On Dec 16, 2008, at 8:16 PM, Chris Lattner wrote:
>>
>> I guess there are three cases:
>>
>> 1. The input and output are different but same-sized types (e.g. two
>> different pointers, intptr + pointer, etc)
>> 2. The input is smaller than the output
>> 3. The output is smaller than the input.
>>
>> #1 should already work today.
>
> Yes.
>
>>
>> #2 should be reasonably easy: llvm-gcc just widens the input (and on
>> big endian, shifts the input) to an integer of the right size.
>
> Done. r61128.
>
>>
>> #3 is a bit trickier because the output needs to be an lvalue.
>
> This is the one we are not supporting. Its semantics is rather  
> unclear.

Awesome, I completely agree.  Thanks Evan!

-Chris



More information about the llvm-commits mailing list