[LLVMdev] Ideas for representing vector gather/scatter and masks in LLVM IR
Daniel Berlin
dberlin at dberlin.org
Tue Aug 12 14:51:20 PDT 2008
On Tue, Aug 12, 2008 at 5:00 PM, Devang Patel <dpatel at apple.com> wrote:
> Dan,
>
> On Aug 2, 2008, at 2:47 PM, Dan Gohman wrote:
>
>> Masks would not themselves be maskable. That is, the result of an
>> applymask could not be used (even indirectly) as the second operand
>> of another applymask.
>
> What is the motivation behind this restriction ?
It also seems hard to enforce and completely arbitrary :)
Not to mention value numbering could easily be taught to combine masks
when value numbering to simply dependent applymasks, etc.
More information about the llvm-dev
mailing list