[all-commits] [llvm/llvm-project] 541d98: [AArch64][GlobalISel] Implement widenScalar for si...

Cassie Jones via All-commits all-commits at lists.llvm.org
Thu Jan 21 23:06:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 541d98efa222b00e16c67348810898c2fa11f398
      https://github.com/llvm/llvm-project/commit/541d98efa222b00e16c67348810898c2fa11f398
  Author: Cassie Jones <code at witchoflight.com>
  Date:   2021-01-21 (Thu, 21 Jan 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-sub.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Implement widenScalar for signed overflow

Implement widening for G_SADDO and G_SSUBO. Previously it was only
implemented for G_UADDO and G_USUBO. Also add legalize-add/sub tests for
narrow overflowing add/sub on AArch64.

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




More information about the All-commits mailing list