[PATCH] D113214: [IR][ShuffleVector] Introduce `isReplicationMask()` matcher
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 5 05:42:50 PDT 2021
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
LGTM - I don't have any experience with the test generator (so might want to wait on a 2nd opinion), but the code looks right.
================
Comment at: llvm/include/llvm/IR/Instructions.h:2375
+
+ /// Return true if this shuffle mask is an replication mask.
+ bool isReplicationMask(int &ReplicationFactor, int &VF) const {
----------------
an -> a
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113214/new/
https://reviews.llvm.org/D113214
More information about the llvm-commits
mailing list