Revert "[LLVM] Fix use-after-free in AlwaysInliner flatten worklist" (#196950)
Reverts llvm/llvm-project#194485, which causes a 20x+ compilation time
increase
(https://github.com/llvm/llvm-project/pull/194485#issuecomment-4416941666)
and an up to 20% runtime performance regression on fleetbench memory
benchmarks
(https://github.com/llvm/llvm-project/pull/194485#issuecomment-4421136222).