[all-commits] [llvm/llvm-project] 12697c: [LegalizeTypes] Check getTypeAction before calling...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Apr 15 13:56:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12697c5516f8a9e4407e01d99324ce6958910184
      https://github.com/llvm/llvm-project/commit/12697c5516f8a9e4407e01d99324ce6958910184
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    A llvm/test/CodeGen/AArch64/pr135776.ll

  Log Message:
  -----------
  [LegalizeTypes] Check getTypeAction before calling GetScalarizedVector. (#135838)

Use getTypeAction instead of trying to guess how a type will be
legalized. On AArch64, v1f16 is scalarized but v1f16 is widened.

Fixes #135776



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