diff options
author | Teresa Johnson <tejohnson@google.com> | 2025-10-02 12:17:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-02 12:17:38 -0700 |
commit | 49603bd9b8c75666f8337b63a6c75a50aa618d4b (patch) | |
tree | 0eeaa28d84524687209be09e336493d829da9683 /llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp | |
parent | f1650cf91b01470ce44f47797663d59f00828493 (diff) | |
download | llvm-49603bd9b8c75666f8337b63a6c75a50aa618d4b.zip llvm-49603bd9b8c75666f8337b63a6c75a50aa618d4b.tar.gz llvm-49603bd9b8c75666f8337b63a6c75a50aa618d4b.tar.bz2 |
Revert "[MemProf] Add ambigous memprof attribute" (#161717)
Reverts llvm/llvm-project#157204
This caused issues in ThinLTO binaries because of the checking here,
that didn't expect allocations needing cloning to have memprof metadata:
https://github.com/llvm/llvm-project/blob/9133fc8cb04f8e45c9b46de85a8de99bf01e55c7/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp#L5572-L5582
I need to move the assert into the if check and guard by that condition.
And add a more thorough test.
Diffstat (limited to 'llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp')
0 files changed, 0 insertions, 0 deletions