[LLVMdev] NEON intrinsics preventing redundant load optimization?

Tim Northover t.p.northover at gmail.com
Tue Jan 13 09:22:32 PST 2015


> While pointer dereference does work just as well (and better, given this
> defect) as VLD1 it is explicitly *not supported*.

I'm actually less convinced of this now. I'd argue that you shouldn't
*create* vectors like that (e.g. by casting a pointer to another type
and loadin), but the ACLE can't really dictate what you do with those
vectors after they've been created, and passing around pointers to
them (or storing them in an array, as in int8x8xN_t and so on) is
entirely valid. I do hope we haven't broken that assumption with our
big-endian model...

Cheers.

Tim.



More information about the llvm-dev mailing list