[all-commits] [llvm/llvm-project] 7dbd26: [AArc64][GlobalISel] Fix legalizer assert for G_IN...

Amara Emerson via All-commits all-commits at lists.llvm.org
Fri May 10 11:54:08 PDT 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 7dbd266e89a70e96a747d8dd4aa5c6abfde15b2c
      https://github.com/llvm/llvm-project/commit/7dbd266e89a70e96a747d8dd4aa5c6abfde15b2c
  Author: Amara Emerson <amara at apple.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-insert-vector-elt.mir

  Log Message:
  -----------
  [AArc64][GlobalISel] Fix legalizer assert for G_INSERT_VECTOR_ELT

We should moreElements <3 x s1> to <4 x s1> before we try to widen the element,
otherwise we end up with a <3 x s21> nonsense type.

(cherry picked from commit a01e9ce86f4c1bc9af819902db9f287b6d23f54f)

Test has been changed from original commit due to a fallback in a G_BITCAST.
Added abort=2 so we can see partial legalization and check no crash.



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