OSDN Git Service

AMDGPU/SI: Handle aliases in AMDGPUAlwaysInlinePass
authorNikolay Haustov <Nikolay.Haustov@amd.com>
Wed, 31 Aug 2016 11:18:33 +0000 (11:18 +0000)
committerNikolay Haustov <Nikolay.Haustov@amd.com>
Wed, 31 Aug 2016 11:18:33 +0000 (11:18 +0000)
commit5b50326ddb65aa19fbf27c47b28794814226ddd9
treef9179070fc3b41a6aa20c8ddbcc58972f57d3719
parent1c6ea1a9499e897cf193cd1fd8187875241eff30
AMDGPU/SI: Handle aliases in AMDGPUAlwaysInlinePass

Summary:
Simply replace usage of aliases to functions with aliasee.
This came up when bitcode linking to builtin library and
calls to aliases not being resolved.

Also made minor improvements to existing test.

Reviewers: tstellarAMD, alex-t, vpykhtin

Subscribers: arsenm, wdng, rampitec

Differential Revision: https://reviews.llvm.org/D24023

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280221 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
test/CodeGen/AMDGPU/inline-calls.ll