[all-commits] [llvm/llvm-project] 5ded44: [AArch64][GlobalISel] Optimize away a Not feeding ...

AE via All-commits all-commits at lists.llvm.org
Tue Sep 1 11:06:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ded4442520d3dbb1aa72e6fe03cddef8828c618
      https://github.com/llvm/llvm-project/commit/5ded4442520d3dbb1aa72e6fe03cddef8828c618
  Author: Amara Emerson <amara at apple.com>
  Date:   2020-09-01 (Tue, 01 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/select-brcond-of-not.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Optimize away a Not feeding a brcond by using tbz instead of tbnz.

Usually brconds are fed by compares, but not always, in which case we would
miss this fold.

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




More information about the All-commits mailing list