[PATCH] D42047: [PatternMatch] Implement matching code for LibFunc
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 23:56:48 PDT 2019
lebedev.ri added inline comments.
================
Comment at: include/llvm/IR/PatternMatch.h:1802
+ if (CI->getCalledFunction() &&
+ TLI.getLibFunc(*CI->getCalledFunction(), LF) &&
+ LF == F && TLI.has(LF))
----------------
Does `TLI.getLibFunc()` check `NoBuiltin` internally?
I see that check got dropped.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D42047/new/
https://reviews.llvm.org/D42047
More information about the llvm-commits
mailing list