[PATCH] D63517: [x86] avoid vector load narrowing with extracted store uses (PR42305)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 13:52:36 PDT 2019


spatel created this revision.
spatel added reviewers: RKSimon, craig.topper.
Herald added subscribers: hiraditya, mcrosier.
Herald added a project: LLVM.

This is an exception to the rule that we should prefer xmm ops to ymm ops. As shown in PR42305:
https://bugs.llvm.org/show_bug.cgi?id=42305
...the store folding opportunity with vextractf128 may result in better perf by reducing the instruction count.


https://reviews.llvm.org/D63517

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/sandybridge-loads.ll
  llvm/test/CodeGen/X86/widen_load-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63517.205429.patch
Type: text/x-patch
Size: 5907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190618/cd26618a/attachment.bin>


More information about the llvm-commits mailing list