[PATCH] D103694: [AMDGPU] Simplify handleAddressTakenFunctions. NFC.
Madhur Amilkanthwar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 06:00:26 PDT 2021
madhur13490 added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp:244
+ for (CallGraphNode *CGN : Reachable) {
+ if (Function *F = CGN->getFunction())
+ Changed |= removeAttributes(F);
----------------
Please move this check inside the function otherwise every caller will have to do this check.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103694/new/
https://reviews.llvm.org/D103694
More information about the llvm-commits
mailing list