[PATCH] D45655: [InstCombine][RFC] Canonicalize constant mask in masked merge mattern

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 15 06:24:26 PDT 2018


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

Rebased, slightly cleanup the matcher by using `m_CombineAnd()`.


Repository:
  rL LLVM

https://reviews.llvm.org/D45655

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  test/Transforms/InstCombine/invert-const-mask-in-masked-merge-scalar.ll
  test/Transforms/InstCombine/invert-const-mask-in-masked-merge-vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45655.142561.patch
Type: text/x-patch
Size: 16585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180415/49cee1bc/attachment.bin>


More information about the llvm-commits mailing list