[PATCH] D111272: [InlineCost] model calls to llvm.is.constant* more carefully
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 7 11:08:31 PDT 2021
nickdesaulniers added inline comments.
================
Comment at: llvm/lib/Analysis/InlineCost.cpp:1546
+ Value *Arg = CB.getArgOperand(0);
+ Constant *C = dyn_cast<Constant>(Arg);
+
----------------
`auto *C = ...`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111272/new/
https://reviews.llvm.org/D111272
More information about the llvm-commits
mailing list