[PATCH] D137635: [CodeGen] Add sources to isVectorClearMaskLegal. NFC.
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 8 07:31:43 PST 2022
spatel added a comment.
Would the problem be solved if we pulled this code:
https://github.com/llvm/llvm-project/blob/aa37342b3b548a75a4d8ce330f58a361a9ce22f4/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp#L22893
into a helper that could be used to see the simpler mask before it is actually created in a new shuffle node?
I was thinking about a similar utility in IR, so we don't have to worry as much about non-canonical masks in IR vector passes (this came up in D137341 <https://reviews.llvm.org/D137341>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137635/new/
https://reviews.llvm.org/D137635
More information about the llvm-commits
mailing list