If a function has many uses, this can take a good chunk of compile times.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D117236
[Inliner] Don't removeDeadConstantUsers() when checking if a function is dead ClosedPublic Authored by aeubanks on Jan 13 2022, 10:11 AM.
Details Summary If a function has many uses, this can take a good chunk of compile times.
Diff Detail
Event TimelineHerald added subscribers: ormris, dexonsmith, hiraditya. · View Herald TranscriptJan 13 2022, 10:11 AM This revision is now accepted and ready to land.Jan 13 2022, 2:16 PM Closed by commit rG757e044dce51: [Inliner] Don't removeDeadConstantUsers() when checking if a function is dead (authored by aeubanks). · Explain WhyJan 13 2022, 2:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 399794 llvm/include/llvm/IR/Constant.h
llvm/lib/Analysis/LazyCallGraph.cpp
llvm/lib/IR/Constants.cpp
llvm/lib/Transforms/IPO/Inliner.cpp
|
You can merge the if blocks as well.