We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b30e0 commit b0fb6a7Copy full SHA for b0fb6a7
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -8912,7 +8912,7 @@ bool SelectionDAGBuilder::canTailCall(const CallBase &CB) const {
8912
8913
// Avoid emitting tail calls in functions with the disable-tail-calls
8914
// attribute.
8915
- auto *Caller = CB.getParent()->getParent();
+ const Function *Caller = CB.getParent()->getParent();
8916
if (Caller->getFnAttribute("disable-tail-calls").getValueAsString() ==
8917
"true" &&
8918
!isMustTailCall)
0 commit comments