[PATCH] D136832: [VectorUtils] Add getShuffleDemandedElts helper
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 30 06:01:03 PDT 2022
spatel added inline comments.
================
Comment at: llvm/lib/Analysis/VectorUtils.cpp:432-434
+bool llvm::getShuffleDemandedElts(int SrcWidth, ArrayRef<int> Mask,
+ const APInt &DemandedElts, APInt &DemandedLHS,
+ APInt &DemandedRHS, bool AllowUndefElts) {
----------------
Can we assert that SrcWidth == DemandedLHS.getBitWidth() == DemandedRHS.getBitWidth() ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136832/new/
https://reviews.llvm.org/D136832
More information about the llvm-commits
mailing list