[all-commits] [llvm/llvm-project] 4ece4c: [ARM] Fold away CMP/CSINC from CMOV

David Green via All-commits all-commits at lists.llvm.org
Sun Dec 19 13:54:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ece4cd77e6648db518bfc4e8cc1fa8ba97ed33f
      https://github.com/llvm/llvm-project/commit/4ece4cd77e6648db518bfc4e8cc1fa8ba97ed33f
  Author: David Green <david.green at arm.com>
  Date:   2021-12-19 (Sun, 19 Dec 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-pred-or.ll
    M llvm/test/CodeGen/Thumb2/mve-pred-vselect.ll
    M llvm/test/CodeGen/Thumb2/mve-pred-xor.ll
    M llvm/test/CodeGen/Thumb2/mve-saturating-arith.ll

  Log Message:
  -----------
  [ARM] Fold away CMP/CSINC from CMOV

This makes use of the code in D114013 to fold away unnecessary
CMPZ/CSINC starting from a CMOV, in a similar way to how we fold away
CSINV/CSINC/etc

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




More information about the All-commits mailing list