aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
diff options
context:
space:
mode:
authorVedant Paranjape <vedantvinaya@nvidia.com>2025-08-14 10:08:26 -0700
committerGitHub <noreply@github.com>2025-08-14 10:08:26 -0700
commit44df9826f312ee615567a7b41aaebfc0e3af9286 (patch)
tree83f9c163ac6d39bd83c1e49df6ae1524eab318ba /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
parent45066c293702657426d2b1754b6c92efeb022d72 (diff)
downloadllvm-44df9826f312ee615567a7b41aaebfc0e3af9286.zip
llvm-44df9826f312ee615567a7b41aaebfc0e3af9286.tar.gz
llvm-44df9826f312ee615567a7b41aaebfc0e3af9286.tar.bz2
[InstCombine] Propagate invariant.load metadata across unpacked loads (#152186)
For loads that operate on aggregate type, instcombine unpacks the loads. It does not preserve the invariant.load metadata. This patch fixes that, it looks for the metadata in the parent load and attaches the metadata to the unpacked loads. ``` %struct.double2 = type { double, double } %struct.double1 = type { double } define %struct.double2 @func1(ptr %a) { %1 = load %struct.double2, ptr %a, align 16, !invariant.load !1 ret %struct.double2 %1 } !1 = !{} ``` Reproducer: https://godbolt.org/z/hcY8MMvYh
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces')
0 files changed, 0 insertions, 0 deletions