[LLVMdev] x86 Vector Shuffle Patterns

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Thu Aug 5 15:15:51 PDT 2010

On Thu, Aug 5, 2010 at 3:11 PM, David A. Greene <greened at obbligato.org> wrote:
> David Greene <dag at cray.com> writes:
>> I'm asking because I'm having some trouble converting some AVX patterns
>> over to the new system.  I'm getting this error from tblgen:
>> VyPERM2F128PDirrmi:   (set:isVoid VR256:v4i64:$dst, (vector_shuffle:v4i64 VR256:v4i64:$src1, (ld:v4i64 addr:iPTR:$src2)<<P:Predicate_unindexedload>><<P:Predicate_load>><<P:Predicate_memop>>)<<P:Predicate_vperm2f128>><<X:SHUFFLE_get_vperm2f128_imm>>)
>> llvm/lib/Target/X86/X86InstrSIMD.td:1705:6: error: In VyPERM2F128PDirrmi: Cannot specify a transform function for a non-input value!
> It turns out this was a tblgen deficiency.  I've got it fixed.  This
> will go upstream as soon as I finish merging 2.7 here.

There's a great chance it's already fixed in mainline, I fixed some
tablegen bugs
some months ago, and this kind of error output seems familiar.

Bruno Cardoso Lopes

More information about the llvm-dev mailing list