[all-commits] [llvm/llvm-project] 0b6090: [AArch64][GlobalISel] Look through a G_ZEXT when t...

AE via All-commits all-commits at lists.llvm.org
Mon Nov 16 10:53:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b6090699ab542cde24be1565b4d97dbad153cba
      https://github.com/llvm/llvm-project/commit/0b6090699ab542cde24be1565b4d97dbad153cba
  Author: Amara Emerson <amara at apple.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/load-wro-addressing-modes.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended register offsets.

The G_ZEXT in these cases seems to actually come from a combine that we do but
SelectionDAG doesn't. Looking through it allows us to match "uxtw #2" addressing
modes.

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




More information about the All-commits mailing list