[all-commits] [llvm/llvm-project] 87ff15: [AArch64][GlobalISel] Fix crash during legalizatio...

AE via All-commits all-commits at lists.llvm.org
Mon Nov 30 16:38:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 87ff156414370043cf149e0c77513c5227b336b1
      https://github.com/llvm/llvm-project/commit/87ff156414370043cf149e0c77513c5227b336b1
  Author: Amara Emerson <amara at apple.com>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Fix crash during legalization of a vector G_SELECT with scalar mask.

The lowering of vector selects needs to first splat the scalar mask into a vector
first.

This was causing a crash when building oggenc in the test suite.

Differential Revision: https://reviews.llvm.org/D91655




More information about the All-commits mailing list