[PATCH] D98884: [IR] Ignore bitcasts of function pointers which are only used as callees in callbase instruction
    Stanislav Mekhanoshin via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Mar 26 09:39:14 PDT 2021
    
    
  
rampitec added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/GlobalOpt.cpp:2149
+      for (User *BU : U->users())
+        SetCallBaseFastCallingConv(BU);
+      continue;
----------------
You do not check that user is a callee.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98884/new/
https://reviews.llvm.org/D98884
    
    
More information about the llvm-commits
mailing list