[PATCH] D115762: AMDGPU: Remove AMDGPUFixFunctionBitcasts pass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 15:03:24 PST 2021


arsenm created this revision.
arsenm added reviewers: scott.linder, rampitec, JonChesterfield.
Herald added subscribers: foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, mgorny, nhaehnle, jvesely, kzhuravl.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This was a workaround for not supporting indirect calls when
instcombine didn't eliminate constant expression casts of the callee
at -O0. Indirect calls are supposed to work now, so drop the hack.


https://reviews.llvm.org/D115762

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.h
  llvm/lib/Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Target/AMDGPU/CMakeLists.txt
  llvm/test/CodeGen/AMDGPU/call-constexpr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115762.394393.patch
Type: text/x-patch
Size: 7834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/4951d421/attachment.bin>


More information about the llvm-commits mailing list