[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
Tue Mar 30 07:25:33 PDT 2021
madhur13490 marked an inline comment as done.
madhur13490 added inline comments.
================
Comment at: llvm/test/Transforms/GlobalOpt/assumelike-bitcast-fastcc.ll:13
+
+; CHECK-NOT: define internal fastcc void @bar() {
+define internal void @bar() {
----------------
rampitec wrote:
> You need to check something positive. You can just check it is 'define internal void @bar() {'.
Added check for foo as well.
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