[all-commits] [llvm/llvm-project] b604d2: [VectorCombine] Pull out isa<VectorType> check.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Dec 12 03:02:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b604d23febe9ac25d274fd933044aa7846d4397e
      https://github.com/llvm/llvm-project/commit/b604d23febe9ac25d274fd933044aa7846d4397e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp

  Log Message:
  -----------
  [VectorCombine] Pull out isa<VectorType> check.

Noticed while investigating a crash in #119559 - we don't account for I being replaced and its Type being reallocated. So hoist the checks to the start of the loop.


  Commit: 625ec7ec8983e040c440928bc1b35143a6362eab
      https://github.com/llvm/llvm-project/commit/625ec7ec8983e040c440928bc1b35143a6362eab
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    R llvm/test/Transforms/PhaseOrdering/X86/concat-boolmasks.ll
    A llvm/test/Transforms/VectorCombine/X86/concat-boolmasks.ll

  Log Message:
  -----------
  [VectorCombine] Move concat-boolmasks.ll tests to be VectorCombine only

Suggested on #119559


Compare: https://github.com/llvm/llvm-project/compare/5b077506de26...625ec7ec8983

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