[all-commits] [llvm/llvm-project] decb74: [AArch64] Fix scheduler crash in fusion code.

Eli Friedman via All-commits all-commits at lists.llvm.org
Thu Oct 20 10:48:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: decb743e80df803dfcb32ac8d175f9641af2f21c
      https://github.com/llvm/llvm-project/commit/decb743e80df803dfcb32ac8d175f9641af2f21c
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64MacroFusion.cpp
    A llvm/test/CodeGen/AArch64/misched-fusion-cmp.mir

  Log Message:
  -----------
  [AArch64] Fix scheduler crash in fusion code.

Make sure we don't call getReg() on the first operand of instruction
without knowing that operand is actually a register.

(This codepath isn't enabled for most CPUs; only triggers on certain
CPUs, like Cortex-X1.)

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




More information about the All-commits mailing list