[PATCH] D113214: [IR][ShuffleVector] Introduce `isReplicationMask()` matcher

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 01:19:33 PDT 2021


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

NFC, improve performance of `isReplicationMask()` matcher,
~halves runtime of `InstructionsTest.ShuffleMaskIsReplicationMask_Exhaustive_Correctness` test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113214

Files:
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/IR/Instructions.cpp
  llvm/unittests/IR/InstructionsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113214.384980.patch
Type: text/x-patch
Size: 7541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211105/23fd2376/attachment.bin>


More information about the llvm-commits mailing list