[all-commits] [llvm/llvm-project] e11420: [ARM] Ensure CSINC has one use in CSINV combine

David Green via All-commits all-commits at lists.llvm.org
Thu Apr 29 02:59:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e11420ca2371cb8e53fec90cfc619ddf8249c965
      https://github.com/llvm/llvm-project/commit/e11420ca2371cb8e53fec90cfc619ddf8249c965
  Author: David Green <david.green at arm.com>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/csel.ll

  Log Message:
  -----------
  [ARM] Ensure CSINC has one use in CSINV combine

Otherwise the CMP glue may be used in multiple nodes, needing to be
emitted multiple times. Currently this either increases instruction
count or fails as it attempt to insert the same node multiple times.




More information about the All-commits mailing list