[PATCH] D115726: [InstCombine] Fold for masked gather when loading the same value each time.

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 06:04:40 PST 2022


CarolineConcatto updated this revision to Diff 397274.
CarolineConcatto marked 4 inline comments as done.
CarolineConcatto added a comment.

- Move tests from vscale_masked_intrinsics.ll  to masked_intrinsics.ll .
- Add test when mask is all zero


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115726

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/masked_intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115726.397274.patch
Type: text/x-patch
Size: 9451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220104/b38cbe00/attachment-0001.bin>


More information about the llvm-commits mailing list