[llvm-dev] extract_vector_elt type mismatch?

Xiaochu Liu via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 18 10:24:30 PDT 2016


Hi there,

I'm trying to map extract_vector_elt use the following pattern in tbl file.

Def : Pat <(i64 (extractelt v2i32:$src, 0)), (i64 (SRLIMM GPR:$src, 32))>;

But the tblgen shows :

Type inference contradiction found , forcing v2i32 to have a vector element
of type i64

But the manual says this instruction allows return type to be larger than
element type.

Anyone can show me any pointers ?

Thanks,
Xiaochu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160818/4314ceb7/attachment.html>


More information about the llvm-dev mailing list