If the only call in a function is a tail call, the
function isn't considered to have a call since it's a
type of return.
Details
Details
- Reviewers
rampitec
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
503 | If it does not have calls it may not have tail calls. Am I missing something? |
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
503 | A tail call is not considered a call of hasCalls's purposes. If there is only a tail call it reports false. |
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
503 | That is quite unexpected. Please add a comment at least. |
If it does not have calls it may not have tail calls. Am I missing something?