[all-commits] [llvm/llvm-project] 64eb3a: [AArch64][GlobalISel] Add post-legalize combine fo...

AE via All-commits all-commits at lists.llvm.org
Mon Jul 13 20:37:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 64eb3a4915f00cca9af4c305a9ff36209003cd7b
      https://github.com/llvm/llvm-project/commit/64eb3a4915f00cca9af4c305a9ff36209003cd7b
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/lib/Target/AArch64/AArch64Combine.td
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-sext-trunc-sextload.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Add post-legalize combine for sext_inreg(trunc(sextload)) -> copy

On AArch64 we generate redundant G_SEXTs or G_SEXT_INREGs because of this.

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




More information about the All-commits mailing list