[PATCH] D45733: [DAGCombiner] Unfold scalar masked merge if profitable

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 11:10:42 PDT 2018


lebedev.ri updated this revision to Diff 142967.
lebedev.ri added a comment.

- Rebased ontop of revised tests
- Stop handling cases with constant mask. instcombine should unfold them.


Repository:
  rL LLVM

https://reviews.llvm.org/D45733

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/unfold-masked-merge-scalar.ll
  test/CodeGen/X86/unfold-masked-merge-scalar.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45733.142967.patch
Type: text/x-patch
Size: 19976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180418/f53d9128/attachment.bin>


More information about the llvm-commits mailing list