[PATCH] D52741: [AMDGPU] Add an AMDGPU pass to promote bitcast calls

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 2 11:57:58 PDT 2018


scott.linder updated this revision to Diff 167993.
scott.linder added a comment.

Move CallPromotionUtils changes to new review (https://reviews.llvm.org/D52792)

Address feedback, and also remove call to `setPreservesCFG` as CallPromotionUtils can modify the CFG.


https://reviews.llvm.org/D52741

Files:
  lib/Target/AMDGPU/AMDGPU.h
  lib/Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/CMakeLists.txt
  test/CodeGen/AMDGPU/call-constexpr.ll
  test/CodeGen/AMDGPU/promote-alloca-bitcast-function.ll
  test/CodeGen/AMDGPU/unsupported-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52741.167993.patch
Type: text/x-patch
Size: 10888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181002/dc0a8157/attachment.bin>


More information about the llvm-commits mailing list