[all-commits] [llvm/llvm-project] e7f501: [GlobalISel][AArch64] Combine and (lshr x, cst), m...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Tue Jun 1 11:02:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7f501b5e7dbcde2790986edd6e7fe5025f041fe
      https://github.com/llvm/llvm-project/commit/e7f501b5e7dbcde2790986edd6e7fe5025f041fe
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-06-01 (Tue, 01 Jun 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/Target/AArch64/AArch64Combine.td
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    A llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-and.mir

  Log Message:
  -----------
  [GlobalISel][AArch64] Combine and (lshr x, cst), mask -> ubfx x, cst, width

Also add a target hook which allows us to get around custom legalization on
AArch64.

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




More information about the All-commits mailing list