[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
Loading
Please sign in to comment