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

AE via All-commits all-commits at lists.llvm.org
Thu Jul 23 12:06:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b10e42ba1a3ff97346bc51f13195ed9595800f4
      https://github.com/llvm/llvm-project/commit/3b10e42ba1a3ff97346bc51f13195ed9595800f4
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-07-23 (Thu, 23 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/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(trunc(sextload)) -> trunc/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