[PATCH] D42724: [X86] Don't make 512-bit vectors legal when preferred vector width is 256 bits and 512 bits aren't required

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 10:58:05 PST 2018


RKSimon added a comment.

What happens if 512-bit intrinsics are used? Do we have a decent error message?



================
Comment at: lib/Target/X86/X86ISelLowering.cpp:1363
     // These operations are handled on non-VLX by artificially widening in
     // isel patterns.
     // TODO: Custom widen in lowering on non-VLX and drop the isel patterns?
----------------
What happens with these? If we've disabled 512-bit vectors what is expected to happen?


https://reviews.llvm.org/D42724





More information about the llvm-commits mailing list