[PATCH] D98884: [IR] Ignore bitcasts of function pointers which are only used as callees in callbase instruction
Madhur Amilkanthwar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 25 11:33:37 PDT 2021
madhur13490 updated this revision to Diff 333373.
madhur13490 added a comment.
use cast<> instead of dyn_cast<>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98884/new/
https://reviews.llvm.org/D98884
Files:
llvm/lib/IR/Function.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/Analysis/CallGraph/ignore-bitcast-call-argument-callee.ll
llvm/test/Analysis/CallGraph/ignore-bitcast-call-argument.ll
llvm/test/Analysis/CallGraph/ignore-bitcast-callees.ll
llvm/test/Analysis/CallGraph/ignore-bitcast-callees2.ll
llvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
llvm/test/Transforms/Attributor/IPConstantProp/arg-type-mismatch.ll
llvm/test/Transforms/GlobalOpt/bitcast-callees-fastcc.ll
llvm/test/Transforms/OpenMP/parallel_deletion_cg_update.ll
llvm/test/Transforms/SCCP/arg-count-mismatch.ll
llvm/test/Transforms/SCCP/arg-type-mismatch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98884.333373.patch
Type: text/x-patch
Size: 18608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210325/aae6e0e0/attachment.bin>
More information about the llvm-commits
mailing list