[all-commits] [llvm/llvm-project] af6eb1: [AArch64][GlobalISel] Fix a crash during unsuccess...

Amara Emerson via All-commits all-commits at lists.llvm.org
Thu May 13 17:28:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af6eb1c710ca17f2f9bce667b9fb593b6541f260
      https://github.com/llvm/llvm-project/commit/af6eb1c710ca17f2f9bce667b9fb593b6541f260
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-vector-ctpop.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Fix a crash during unsuccessful G_CTPOP <2 x s64> legalization.

The legalization rule for scalar-same-as doesn't handle vectors. Until we
implement custom legalization for this, at least fall back properly.




More information about the All-commits mailing list