[all-commits] [llvm/llvm-project] 145549: [GlobalISel] Combine (x + 0) -> x, G_PTR_ADD edition

Jessica Paquette via All-commits all-commits at lists.llvm.org
Fri Feb 12 12:14:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 145549ff893f15bffa3bad78440b5257a47a3aa9
      https://github.com/llvm/llvm-project/commit/145549ff893f15bffa3bad78440b5257a47a3aa9
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-trivial-arith.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll

  Log Message:
  -----------
  [GlobalISel] Combine (x + 0) -> x, G_PTR_ADD edition

Add it to right_identity_zero.

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




More information about the All-commits mailing list