[PATCH] D101847: [AMDGPU] Fix function pointer argument bug in AMDGPU Propagate Attributes pass.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 17:43:40 PDT 2021


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp:254
+        // do not propagate attributes if F is passed as an argument.
+        if (!CI || CI->getCalledOperand() != &F)
           continue;
----------------
Add a fixme for the bitcasted callee case


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101847/new/

https://reviews.llvm.org/D101847



More information about the llvm-commits mailing list