[all-commits] [llvm/llvm-project] 0d41d2: [AArch64][GlobalISel] Enable some select combines ...

Amara Emerson via All-commits all-commits at lists.llvm.org
Mon Jul 26 10:49:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d41d21929d4366997e67f986689eef0253547b6
      https://github.com/llvm/llvm-project/commit/0d41d21929d4366997e67f986689eef0253547b6
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Combine.td
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-select.mir
    M llvm/test/CodeGen/AArch64/fold-global-offsets.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Enable some select combines after legalization.

The legalizer generates selects for some operations, which can have constant
condition values, resulting in lots of dead code if it's not folded away.

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




More information about the All-commits mailing list