[all-commits] [llvm/llvm-project] 822392: [VectorCombine] reject out-of-bounds extract index...

Arda Serdar Pektezol via All-commits all-commits at lists.llvm.org
Mon Apr 27 15:57:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 822392d2dda851139b840b24672294378d5cc29f
      https://github.com/llvm/llvm-project/commit/822392d2dda851139b840b24672294378d5cc29f
  Author: Arda Serdar Pektezol <arda at pektezol.dev>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    A llvm/test/Transforms/VectorCombine/X86/extract-extract-oob.ll

  Log Message:
  -----------
  [VectorCombine] reject out-of-bounds extract indexes in foldExtractExtract (#194381)

Fixes #194355

`VectorCombine::foldExtractExtract()` matches any constant-index
`extractelement` operands, but it never verifies that they are in range
for a fixed-width vector.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list