[PATCH] D69349: [InlineCost] Fix infinite loop in indirect call evaluation
Fedor Sergeev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 12 03:17:48 PST 2019
fedor.sergeev added inline comments.
================
Comment at: llvm/lib/Analysis/InlineCost.cpp:1267
}
+ // When we have a concrete function, first try to simplify it directly.
----------------
Please, add assert here on F, e.g.:
assert(F && "call to known function expected here")
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69349/new/
https://reviews.llvm.org/D69349
More information about the llvm-commits
mailing list