[PATCH] D118376: [x86] try harder to scalarize a vector load with extracted integer op uses

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 11 09:36:14 PST 2022


spatel updated this revision to Diff 407920.
spatel added a comment.

Patch updated:

1. Use `makeEquivalentMemoryOrdering` (see D119549 <https://reviews.llvm.org/D119549> for a similar change to the DAGCombiner code)
2. Added a regression test based on https://github.com/llvm/llvm-project/issues/53695 (with the old version of this patch, this test will fail).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118376/new/

https://reviews.llvm.org/D118376

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/2011-12-26-extractelement-duplicate-load.ll
  llvm/test/CodeGen/X86/avx512-cvt.ll
  llvm/test/CodeGen/X86/bitcast-vector-bool.ll
  llvm/test/CodeGen/X86/extractelement-load.ll
  llvm/test/CodeGen/X86/oddsubvector.ll
  llvm/test/CodeGen/X86/pr45378.ll
  llvm/test/CodeGen/X86/scalar_widen_div.ll
  llvm/test/CodeGen/X86/shrink_vmul.ll
  llvm/test/CodeGen/X86/vec_cast.ll
  llvm/test/CodeGen/X86/vec_int_to_fp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118376.407920.patch
Type: text/x-patch
Size: 71484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220211/ceedca6a/attachment.bin>


More information about the llvm-commits mailing list