[llvm-commits] [PATCH] Shufflevector crash on ARM, take 2

Stepan Dyatkovskiy stpworld at narod.ru
Mon Sep 10 07:36:54 PDT 2012


James Molloy wrote:
> I'm not sure that in your example the operands will be truncated
> implicitly...
If I properly learned CodeGen...
This part of visitBUILD_VECTOR is activated before types and vectors 
legalization. So types, vectors and operations may be illegal on this 
stage. That means that we can insert any crazy operation here:

v1024i4096 concat_vectors v2i123 v2i123 ...(512 times)

If text above is right. I think, we should use vector sizes comparison 
instead of element types comparison.

-Stepan.



More information about the llvm-commits mailing list