[AMDGPU] Propagate function attributes thru bitcasts
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 17 Jun 2019 20:42:48 +0000 (20:42 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 17 Jun 2019 20:42:48 +0000 (20:42 +0000)
commit3138278287308fbe28aaef74fb838b1f12af1fed
treeaaa498bd9804d1e32fdb39d9562353b5d7403166
parentfe8bd96ebd6c490ea0b5c1fb342db2d7c393a109
[AMDGPU] Propagate function attributes thru bitcasts

AMDGPUPropagateAttributes will not work on function bitcatsts,
so move AMDGPUFixFunctionBitcasts before it.

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

llvm-svn: 363614
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll [new file with mode: 0644]