[NFC] pull retvec logic to MemoryTaggingSupport.
authorFlorian Mayer <fmayer@google.com>
Wed, 2 Feb 2022 23:28:14 +0000 (15:28 -0800)
committerFlorian Mayer <fmayer@google.com>
Thu, 3 Feb 2022 00:05:52 +0000 (16:05 -0800)
commitfa75a62cb5d5b79ed80c6b9372478ef1514f8c8f
tree9c5cff1380baf85b2050478166ca7e5512b72d47
parentd6fdbbcace0b51c0096c5dbab6afb6449da21524
[NFC] pull retvec logic to MemoryTaggingSupport.

we will also need this for aarch64 stack tagging.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D118852
llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp