OSDN Git Service

[AMDGPU] Fixed memory leak with inliner replaced
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 20 Sep 2017 06:34:28 +0000 (06:34 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 20 Sep 2017 06:34:28 +0000 (06:34 +0000)
commitb5a9104224ac49def36f7b6c172a5f4aa54c106b
tree45be3f31e152f1e8c557f9bbb64edbb70416b763
parente232c830608745aff3139d2d5549e9d99c358881
[AMDGPU] Fixed memory leak with inliner replaced

Delete inliner before replacing it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313723 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp