[all-commits] [llvm/llvm-project] 14c2cf: [AArch64][GlobalISel] Don't bail out of the select...

AE via All-commits all-commits at lists.llvm.org
Tue Jan 28 10:09:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 14c2cf8e187451b51e997c40476b65d5ef9d346e
      https://github.com/llvm/llvm-project/commit/14c2cf8e187451b51e997c40476b65d5ef9d346e
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/fold-fp-select.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Don't bail out of the select(cmp(a, b)) -> csel optimization with multiple users.

It can still be beneficial to do the optimization if the result of the compare
is used by *another* select.

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




More information about the All-commits mailing list