summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CallingConvLower.cpp
diff options
context:
space:
mode:
authorKiran <kiran.sturt@arm.com>2024-08-27 11:17:17 +0100
committerKiran <kiran.sturt@arm.com>2024-08-27 11:17:17 +0100
commitc50d11e6d95a7d6b9bfe126ca35d4831928c3f69 (patch)
tree0508396079fba581071d428cdc9f4e0db4759de0 /llvm/lib/CodeGen/CallingConvLower.cpp
parentbc4bedd5ed2c8d9f1a648c72d38e17361aff8a30 (diff)
Revert "[ARM] musttail fixes"
committed by accident, see #104795 This reverts commit a2088a24dad31ebe44c93751db17307fdbe1f0e2.
Diffstat (limited to 'llvm/lib/CodeGen/CallingConvLower.cpp')
-rw-r--r--llvm/lib/CodeGen/CallingConvLower.cpp61
1 files changed, 0 insertions, 61 deletions
diff --git a/llvm/lib/CodeGen/CallingConvLower.cpp b/llvm/lib/CodeGen/CallingConvLower.cpp
index 7ba3ea83115d..b7152587a9fa 100644
--- a/llvm/lib/CodeGen/CallingConvLower.cpp
+++ b/llvm/lib/CodeGen/CallingConvLower.cpp
@@ -290,64 +290,3 @@ bool CCState::resultsCompatible(CallingConv::ID CalleeCC,
return std::equal(RVLocs1.begin(), RVLocs1.end(), RVLocs2.begin(),
RVLocs2.end(), AreCompatible);
}
-
-void CCState::dump() const {
- dbgs() << "CCState:\n";
- for (const CCValAssign &Loc : Locs) {
- if (Loc.isRegLoc()) {
- dbgs() << " Reg " << TRI.getName(Loc.getLocReg());
- } else if (Loc.isMemLoc()) {
- dbgs() << " Mem " << Loc.getLocMemOffset();
- } else {
- assert(Loc.isPendingLoc());
- dbgs() << " Pend " << Loc.getExtraInfo();
- }
-
- dbgs() << " ValVT:" << Loc.getValVT();
- dbgs() << " LocVT:" << Loc.getLocVT();
-
- if (Loc.needsCustom())
- dbgs() << " custom";
-
- switch (Loc.getLocInfo()) {
- case CCValAssign::Full:
- dbgs() << " Full";
- break;
- case CCValAssign::SExt:
- dbgs() << " SExt";
- break;
- case CCValAssign::ZExt:
- dbgs() << " ZExt";
- break;
- case CCValAssign::AExt:
- dbgs() << " AExt";
- break;
- case CCValAssign::SExtUpper:
- dbgs() << " SExtUpper";
- break;
- case CCValAssign::ZExtUpper:
- dbgs() << " ZExtUpper";
- break;
- case CCValAssign::AExtUpper:
- dbgs() << " AExtUpper";
- break;
- case CCValAssign::BCvt:
- dbgs() << " BCvt";
- break;
- case CCValAssign::Trunc:
- dbgs() << " Trunc";
- break;
- case CCValAssign::VExt:
- dbgs() << " VExt";
- break;
- case CCValAssign::FPExt:
- dbgs() << " FPExt";
- break;
- case CCValAssign::Indirect:
- dbgs() << " Indirect";
- break;
- }
-
- dbgs() << "\n";
- }
-}