[all-commits] [llvm/llvm-project] a17619: [AArch64][GlobalISel]: Fix a crash in GlobalIsel i...

Mark Lacey via All-commits all-commits at lists.llvm.org
Tue Dec 17 16:10:27 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a17619e0b0977f922f63522790c82a9644b7a069
      https://github.com/llvm/llvm-project/commit/a17619e0b0977f922f63522790c82a9644b7a069
  Author: Xiaoqing Wu <xiaoqing_wu at apple.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
    A llvm/test/CodeGen/AArch64/legalize-uaddo.mir

  Log Message:
  -----------
  [AArch64][GlobalISel]: Fix a crash in GlobalIsel in dealing with 16bit uadd.with.overflow.

Summary: AArch64 doesn't support uadd.with.overflow.i16 natively. This change adds a legalization rule to convert the 32bit add result to 16bit. This should fix PR43981.

Reviewers: arsenm, qcolombet, paquette, aemerson

Reviewed By: paquette

Subscribers: wdng, rovka, kristof.beyls, hiraditya, Petar.Avramovic, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list