[PATCH] D22751: AMDGPU Device Libs pass.

Nikolay Haustov via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 05:45:57 PDT 2016


nhaustov created this revision.
nhaustov added reviewers: tstellarAMD, arsenm, vpykhtin.
nhaustov added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.

Replace calls to __oclc_option_mask in a kernel.

If there is call to __oclc_option_mask in a function,
add option mask as argument and pass it through all calls to this function.

https://reviews.llvm.org/D22751

Files:
  lib/Target/AMDGPU/AMDGPU.h
  lib/Target/AMDGPU/AMDGPUDeviceLibs.h
  lib/Target/AMDGPU/AMDGPUDeviceLibsPass.cpp
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/AMDGPUTargetMachine.h
  lib/Target/AMDGPU/CMakeLists.txt
  test/CodeGen/AMDGPU/device-libs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22751.65331.patch
Type: text/x-patch
Size: 15157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160725/33580119/attachment.bin>


More information about the llvm-commits mailing list