[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 02:27:18 PDT 2018


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

Drop duplicate tests.
I have just realized that non-const mask is not canonicalized yet too https://godbolt.org/g/NKPHGF, so i'll rework this slightly..


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.142543.patch
Type: text/x-patch
Size: 16371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180415/c2b01c19/attachment.bin>


More information about the llvm-commits mailing list