[all-commits] [llvm/llvm-project] 6a85cf: [SelectionDAG] Verify SPLAT_VECTOR nodes when they...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Apr 12 11:18:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a85cf8fc0437d4885fc829948befe32c1e5a21d
      https://github.com/llvm/llvm-project/commit/6a85cf8fc0437d4885fc829948befe32c1e5a21d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-12 (Fri, 12 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Verify SPLAT_VECTOR nodes when they are created. (#88305)

This applies the same rules we have for the scalar operands of a
BUILD_VECTOR where the scalar type must match the element type or for
integer vectors we allow the scalar type to be larger than the element
type. Hexagon uses i32 for an FP zero vector so we allow that as an
exception.



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