diff options
author | Florian Hahn <flo@fhahn.com> | 2024-07-19 13:03:21 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-07-19 13:03:22 +0100 |
commit | 123c036bd361de9ed6baa0090e5942105764e8db (patch) | |
tree | de4100ecc2fbb97cea9fc60150514475ef4fb815 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ef47bbb4715de5790308cac166d8cd05020e8e18 (diff) | |
download | llvm-123c036bd361de9ed6baa0090e5942105764e8db.zip llvm-123c036bd361de9ed6baa0090e5942105764e8db.tar.gz llvm-123c036bd361de9ed6baa0090e5942105764e8db.tar.bz2 |
Recommit "[TBAA] Emit distinct TBAA tags for pointers with different depths,types. (#76612)"
This reverts the revert commit bee240367cc48bbc93fe5eb57d537968dfe4419f.
This version includes updates to the tests to use patterns when matching
the pointer argument.
Original commit message:
This patch extends Clang's TBAA generation code to emit distinct tags
for incompatible pointer types.
Pointers with different element types are incompatible if the pointee
types are also incompatible (modulo sugar/modifiers).
Express this in TBAA by generating different tags for pointers based on
the pointer depth and pointee type. To get the TBAA tag for the pointee
type it uses getTypeInfoHelper on the pointee type.
(Moved from https://reviews.llvm.org/D122573)
PR: https://github.com/llvm/llvm-project/pull/76612
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions