[llvm] VectorCombine: refactor foldShuffleToIdentity (NFC) (PR #92766)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 10:43:54 PDT 2024
================
@@ -1721,73 +1768,78 @@ bool VectorCombine::foldShuffleToIdentity(Instruction &I) {
while (!Worklist.empty()) {
SmallVector<InstLane> Item = Worklist.pop_back_val();
+ auto [FrontV, FrontLane] = Item.front();
----------------
davemgreen wrote:
These two might as well be below the NumVisited check below.
https://github.com/llvm/llvm-project/pull/92766
More information about the llvm-commits
mailing list