[PATCH] D36436: [AMDGPU] Ported and adopted AMDLibCalls pass
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 17:05:37 PDT 2017
rampitec created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, mgorny, nhaehnle, wdng, kzhuravl, arsenm.
The pass does simplifications of well known AMD library calls.
If given -amdgpu-prelink option it works in a pre-link mode which
allows to reference new library functions which will be linked in
In addition it also used to process traditional AMD option
-fuse-native which allows to replace some of the functions with
their fast native implementations from the library.
The necessary glue to pass the prelink option and translate
-fuse-native is to be added to the driver.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 130868 bytes
Desc: not available
More information about the llvm-commits