[PATCH] D98884: [IR] Add opt-in parameter to hasAddressTaken() to ignore bitcasts callee in callbase instruction

Madhur Amilkanthwar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 23 10:08:38 PDT 2021


madhur13490 added a comment.

In D98884#2644969 <https://reviews.llvm.org/D98884#2644969>, @arsenm wrote:

> Commit message needs update

I updated it but I don't why phab does not show it. Here is my new commit message:

[IR] Ignore bitcasts of function pointers which are only used as callees in callbase instruction

  This patch enhances hasAddressTaken() to ignore bitcasts as a
  callee in callbase instruction. Such bitcast usage don't really take
  the address in a useful meaningful way.
  
  Differential Revision: https://reviews.llvm.org/D98884/


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