[PATCH] D77952: [TLI] Reduce copies for TLI and TLA
Hongtao Yu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 11 13:52:06 PDT 2020
hoyFB added a comment.
Thanks for the nice cleanup!
================
Comment at: llvm/include/llvm/Analysis/TargetLibraryInfo.h:456
+ TargetLibraryAnalysis(const Triple &T)
+ : BaselineInfoImpl(TargetLibraryInfoImpl(T)) {}
+ TargetLibraryAnalysis(const TargetLibraryInfoImpl &BaselineInfoImpl)
----------------
Can `T` just be used here? `TargetLibraryInfoImpl` comes with a such constructor: `TargetLibraryInfoImpl(const Triple &T)`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77952/new/
https://reviews.llvm.org/D77952
More information about the cfe-commits
mailing list