[all-commits] [llvm/llvm-project] 387085: [SVE] Restrict cmp+and->pred_cmp isel to instances...

paulwalker-arm via All-commits all-commits at lists.llvm.org
Mon Mar 13 05:44:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3870857226b68fe19e97969e256e31c5eb681c04
      https://github.com/llvm/llvm-project/commit/3870857226b68fe19e97969e256e31c5eb681c04
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sve-fcmp.ll
    M llvm/test/CodeGen/AArch64/sve-fp-int-min-max.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll

  Log Message:
  -----------
  [SVE] Restrict cmp+and->pred_cmp isel to instances where the and is the sole user of the compare.

Without the single use restriction we may replace the and with a
more costly duplicated compare.

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




More information about the All-commits mailing list