[all-commits] [llvm/llvm-project] 661ab7: [AArch64][GlobalISel] Fix crash in the extend(extr...

Amara Emerson via All-commits all-commits at lists.llvm.org
Thu Sep 23 23:07:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 661ab70314008b609dda792e2c9dc57afa1f8864
      https://github.com/llvm/llvm-project/commit/661ab70314008b609dda792e2c9dc57afa1f8864
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/select-extract-vector-elt-with-extend.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Fix crash in the extend(extract_vector_elt) optimization.

It was assuming that GPR extends could only have destination sizes of 32 or 64
bits, but for AArch64 we allow < 32 bits even without matching size physregs.




More information about the All-commits mailing list