See https://bugs.chromium.org/p/chromium/issues/detail?id=994463#c2 for a standalone repo (too big for bugzilla)
$ llvm/utils/git-svn/git-llvm push Pushing 1 monorepo commit: 55f6d4dd665 Revert r368987, it caused PR43016. Sending llvm/trunk/lib/Target/AArch64/AArch64CallingConvention.td Sending llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp Sending llvm/trunk/lib/Target/AArch64/AArch64RegisterInfo.cpp Sending llvm/trunk/test/CodeGen/AArch64/aarch64-dynamic-stack-layout.ll Sending llvm/trunk/test/CodeGen/AArch64/aarch64-vector-pcs.mir Sending llvm/trunk/test/CodeGen/AArch64/addsub-constant-folding.ll Sending llvm/trunk/test/CodeGen/AArch64/alloca.ll Sending llvm/trunk/test/CodeGen/AArch64/arm64-alloca-frame-pointer-offset.ll Sending llvm/trunk/test/CodeGen/AArch64/cgp-usubo.ll Sending llvm/trunk/test/CodeGen/AArch64/fast-isel-sp-adjust.ll Sending llvm/trunk/test/CodeGen/AArch64/irg_sp_tagp.ll Sending llvm/trunk/test/CodeGen/AArch64/regress-w29-reserved-with-fp.ll Sending llvm/trunk/test/CodeGen/AArch64/reverse-csr-restore-seq.mir Sending llvm/trunk/test/CodeGen/AArch64/seh-finally.ll Sending llvm/trunk/test/CodeGen/AArch64/shadow-call-stack.ll Sending llvm/trunk/test/CodeGen/AArch64/sink-copy-for-shrink-wrap.ll Sending llvm/trunk/test/CodeGen/AArch64/spill-stack-realignment.mir Sending llvm/trunk/test/CodeGen/AArch64/sponentry.ll Sending llvm/trunk/test/CodeGen/AArch64/stack-guard-reassign.ll Sending llvm/trunk/test/CodeGen/AArch64/stack-guard-vaarg.ll Sending llvm/trunk/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-innerouter.ll Sending llvm/trunk/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-interleavedbits.ll Sending llvm/trunk/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-interleavedbytehalves.ll Sending llvm/trunk/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-lowhigh.ll Sending llvm/trunk/test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll Sending llvm/trunk/test/CodeGen/AArch64/unreachable-emergency-spill-slot.mir Sending llvm/trunk/test/CodeGen/AArch64/win64_vararg.ll Sending llvm/trunk/test/CodeGen/AArch64/wineh-frame5.mir Sending llvm/trunk/test/CodeGen/AArch64/wineh-frame7.mir Sending llvm/trunk/test/CodeGen/AArch64/wineh-try-catch-realign.ll Sending llvm/trunk/test/CodeGen/AArch64/wineh-try-catch.ll Sending llvm/trunk/test/CodeGen/AArch64/wineh_shrinkwrap.mir Transmitting file data ................................done Committing transaction... Committed revision 369080. Committed 55f6d4dd665 to svn.
The patch relanded in https://reviews.llvm.org/rGf28e1128d9ef, and addresses the assertion-failure in this bug report.