[PATCH] D52792: Relax trivial cast requirements in CallPromotionUtils

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


scott.linder created this revision.
scott.linder added a reviewer: mssimpso.
Herald added subscribers: llvm-commits, mgorny, nhaehnle, jvesely, arsenm.

Broken out of https://reviews.llvm.org/D52741

Once that is committed there will be some tests exercising the change, but I can also update the PGO tests to prove the change if needed.


Repository:
  rL LLVM

https://reviews.llvm.org/D52792

Files:
  lib/Target/AMDGPU/AMDGPU.h
  lib/Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/CMakeLists.txt
  lib/Transforms/Utils/CallPromotionUtils.cpp
  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: D52792.167988.patch
Type: text/x-patch
Size: 12487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181002/f1f0d43a/attachment.bin>


More information about the llvm-commits mailing list