[all-commits] [llvm/llvm-project] a0c90b: [AArch64][GlobalISel] Enable extending loads combi...

AE via All-commits all-commits at lists.llvm.org
Thu May 28 23:05:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0c90b5b2ad6a81e8aded5ad59cc25ff58464bcf
      https://github.com/llvm/llvm-project/commit/a0c90b5b2ad6a81e8aded5ad59cc25ff58464bcf
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/Target/AArch64/AArch64Combine.td
    M llvm/lib/Target/AArch64/AArch64PostLegalizerCombiner.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-extending-loads.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Enable extending loads combines post-legalization.

During legalization we can end up with extends of loads, which in the case of
zexts causes us to not hit tablegen imported patterns.

The caveat here is that we don't want anyext load forming, since some variants
are illegal. This change also prevents the combine from creating any illegal
loads.

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




More information about the All-commits mailing list