[PATCH] [X86][FastIsel] Teach how to select vector load instructions.

Andrea Di Biagio Andrea_DiBiagio at sn.scee.net
Wed Mar 25 13:15:13 PDT 2015


Patch updated.
Method 'X86FastEmitLoad' now takes as input an unsigned 'Alignment' value (instead of a 'bool Aligned'). We now select aligned vector loads only if Alignment is >= 16.
Added extra test cases in CodeGen/X86/fast-isel-vecload.ll to check that we correctly select "ABI aligned" vector loads.

Please let me know what you think.

Thanks again for your time!
-Andrea


http://reviews.llvm.org/D8605

Files:
  lib/Target/X86/X86FastISel.cpp
  test/CodeGen/X86/fast-isel-vecload.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8605.22668.patch
Type: text/x-patch
Size: 7850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150325/2d65cf4f/attachment.bin>


More information about the llvm-commits mailing list