[all-commits] [llvm/llvm-project] d3f9f5: [SROA] Propagate correct TBAA/TBAA Struct offsets
William Moses via All-commits
all-commits at lists.llvm.org
Fri Feb 19 21:15:22 PST 2021
Branch: refs/heads/release/12.x
Home: https://github.com/llvm/llvm-project
Commit: d3f9f512a47f10d27a9e32edaaa7513a64b0ec17
https://github.com/llvm/llvm-project/commit/d3f9f512a47f10d27a9e32edaaa7513a64b0ec17
Author: William S. Moses <gh at wsmoses.com>
Date: 2021-02-19 (Fri, 19 Feb 2021)
Changed paths:
M llvm/include/llvm/IR/Metadata.h
M llvm/include/llvm/IR/Operator.h
M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
M llvm/lib/IR/Operator.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/test/Transforms/SROA/basictest.ll
A llvm/test/Transforms/SROA/tbaa-struct2.ll
Log Message:
-----------
[SROA] Propagate correct TBAA/TBAA Struct offsets
SROA does not correctly account for offsets in TBAA/TBAA struct metadata.
This patch creates functionality for generating new MD with the corresponding
offset and updates SROA to use this functionality.
Differential Revision: https://reviews.llvm.org/D95826
(cherry picked from commit 40862b1a7486a969ff044cd240aad24f4183cc10)
More information about the All-commits
mailing list