Teresa Johnson 49603bd9b8
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:
9133fc8cb0/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.
2025-10-02 12:17:38 -07:00
..