aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-07-19 13:03:21 +0100
committerFlorian Hahn <flo@fhahn.com>2024-07-19 13:03:22 +0100
commit123c036bd361de9ed6baa0090e5942105764e8db (patch)
treede4100ecc2fbb97cea9fc60150514475ef4fb815 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentef47bbb4715de5790308cac166d8cd05020e8e18 (diff)
downloadllvm-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