[PATCH] D47330: [DAGCombiner] match vector compare and select sizes with extload operand (PR37427)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 13:13:46 PDT 2018


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

Patch updated:
Use isLoadExtLegalOrCustom() to check if the load is allowed. This means less diffs for AVX1 because it has a smaller set of extending loads than AVX2.

I need to step back through some of these tests and see if the earlier rev of the patch was miscompiling or just producing weird sequences.


https://reviews.llvm.org/D47330

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/vsel-cmp-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47330.148465.patch
Type: text/x-patch
Size: 8687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180524/4a84ccd6/attachment.bin>


More information about the llvm-commits mailing list