[PATCH] D111456: [InlineCost] model calls to llvm.objectsize.*
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 11 15:31:48 PDT 2021
nickdesaulniers added a subscriber: craig.topper.
nickdesaulniers added a comment.
@craig.topper also mentioned that "it looks like maybe ObjectSizeOffsetVisitor doesn't know how to look through bitcasts?" on IRC. Let me look into that, because I suspect we should be able to evaluate `call i64 @llvm.objectsize.i64.p0i8(i8* bitcast (%struct.nodemask_t* @numa_nodes_parsed to i8*), i1 false, i1 false, i1 false)` to not-`-1`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111456/new/
https://reviews.llvm.org/D111456
More information about the llvm-commits
mailing list