[PATCH] [X86] Make EltsFromConsecutiveLoads code path work only on vectors it expects

Michael Kuperstein michael.m.kuperstein at intel.com
Tue Dec 9 01:21:35 PST 2014


Hi spatel,

EltsFromConsecutiveLoads was apparently only ever called for 128-bit vectors, and assumed this implicitly. 
r223518 started calling it for AVX-sized vectors, causing the code path that had this assumption to crash. 

This makes the assumption explicit by adding a check.

http://reviews.llvm.org/D6579

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/elts-from-loads-256.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6579.17074.patch
Type: text/x-patch
Size: 1693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141209/25730fc9/attachment.bin>


More information about the llvm-commits mailing list