[llvm] [SLP] Use make_isa_range instead of dyn_cast/continue (NFC). (PR #223975)

Ryan Buchner via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 10:07:18 PDT 2026


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

----------------
bababuck wrote:

I think can be used here as well
```suggestion
for (Instruction *I : make_isa_range<Instruction>(Entry->Scalars)) {
  if (Entry->isCopyableElement(I) || !SE->isSCEVable(I->getType()))
    continue;
```

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


More information about the llvm-commits mailing list