[llvm-branch-commits] [llvm] [TBAA] Only clear TBAAStruct if field can be extracted. (PR #81285)
Florian Hahn via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Feb 9 12:14:04 PST 2024
================
@@ -821,13 +821,15 @@ MDNode *AAMDNodes::extendToTBAA(MDNode *MD, ssize_t Len) {
AAMDNodes AAMDNodes::adjustForAccess(unsigned AccessSize) {
AAMDNodes New = *this;
MDNode *M = New.TBAAStruct;
- New.TBAAStruct = nullptr;
if (M && M->getNumOperands() == 3 && M->getOperand(0) &&
----------------
fhahn wrote:
Here it is: #81313
https://github.com/llvm/llvm-project/pull/81285
More information about the llvm-branch-commits
mailing list