[mte] fix compiler crash with musttail.
authorFlorian Mayer <fmayer@google.com>
Wed, 2 Feb 2022 23:38:20 +0000 (15:38 -0800)
committerFlorian Mayer <fmayer@google.com>
Thu, 3 Feb 2022 00:13:46 +0000 (16:13 -0800)
commit29f92da522e44eec854ca68e658903aa6d7a6fee
treee835ba80f1c8f15fc1da4c824bfa009fab41207c
parentded733bd49ff44cf94bd8a7a821ba37390dc94b1
[mte] fix compiler crash with musttail.

see D118852 for matching hwasan fix.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D118854
llvm/lib/Target/AArch64/AArch64StackTagging.cpp
llvm/test/CodeGen/AArch64/stack-tagging-musttail.ll [new file with mode: 0644]