[PATCH] D77877: [llvm][NFC] Inliner.cpp: ensure InlineHistory ID is always initialized;
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 10:03:20 PDT 2020
davidxl added a comment.
This change essentially makes a lazy initialization to become eagerly initialized. It may be better to keep the 'laziness' here, so why not just push the declaration of InlineHistoryID into the if(IsTrivialllyDead) {} block?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77877/new/
https://reviews.llvm.org/D77877
More information about the llvm-commits
mailing list