This patch adds in a couple more properties related to call instructions
and the CFG within the function that should expose a little bit more
about the characteristics of the function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Address reviewer feedback
- Fix issue with critical edge counting
| llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp | ||
|---|---|---|
| 118 | Yes. I forgot to add the conditional that the number of successors of the block must be greater than zero. Fixed in the latest patch (with a test case added). | |
| llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp | ||
|---|---|---|
| 147 | What about vector of int / vector of fp / vector of pointer | |
| llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp | ||
|---|---|---|
| 147 | Thanks for the suggestion! Added. Could provide some interesting information. | |
| llvm/test/Analysis/FunctionPropertiesAnalysis/matmul.ll | ||
|---|---|---|
| 226 | add the missing check lines. | |
This counts each critical edge #predecessors times, doesn't it?