[llvm] [VectorCombine] Avoid push_back in range-for (PR #196741)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat May 9 14:48:59 PDT 2026


================

----------------
RKSimon wrote:

You might be able to use make_range instead?
```
for (ShuffleVectorInst *SV : make_range(Shuffles.begin(), Shuffles.end())) {
```

https://github.com/llvm/llvm-project/pull/196741


More information about the llvm-commits mailing list