[all-commits] [llvm/llvm-project] 7b2e16: [AArch64] Fix scheduling model issue #96394 (#97047)

David Sherwood via All-commits all-commits at lists.llvm.org
Mon Jul 1 03:34:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b2e16f9526107998f5e3459994152a83c452087
      https://github.com/llvm/llvm-project/commit/7b2e16f9526107998f5e3459994152a83c452087
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SchedPredNeoverse.td
    A llvm/test/CodeGen/AArch64/misched-move-imm.mir

  Log Message:
  -----------
  [AArch64] Fix scheduling model issue #96394 (#97047)

The NeoverseZeroMove predicate assumes that the first operand is always
an immediate, which isn't always true. For example, it could be a stack
offset, etc. This patch fixes that by checking if the operand is an
immediate first.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list