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

Evan Cheng echeng at apple.com
Tue Dec 16 23:42:01 PST 2008


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.

Evan

>
>
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list