summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorKiran <kiran.sturt@arm.com>2024-08-27 10:43:59 +0100
committerKiran <kiran.sturt@arm.com>2024-08-27 10:44:06 +0100
commit1a908c6be3317bbbac73e6a6fc52cabefbdebf7d (patch)
treee1e13592007a35f913a9951f0c4304e76355fea0 /llvm/lib/CodeGen
parenta2088a24dad31ebe44c93751db17307fdbe1f0e2 (diff)
Seperate frontend changes, add debug directives, remove redundant stuff from tests
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/CallingConvLower.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CallingConvLower.cpp b/llvm/lib/CodeGen/CallingConvLower.cpp
index 7ba3ea83115d..388847629443 100644
--- a/llvm/lib/CodeGen/CallingConvLower.cpp
+++ b/llvm/lib/CodeGen/CallingConvLower.cpp
@@ -291,6 +291,7 @@ bool CCState::resultsCompatible(CallingConv::ID CalleeCC,
RVLocs2.end(), AreCompatible);
}
+#ifndef NDEBUG
void CCState::dump() const {
dbgs() << "CCState:\n";
for (const CCValAssign &Loc : Locs) {
@@ -351,3 +352,4 @@ void CCState::dump() const {
dbgs() << "\n";
}
}
+#endif \ No newline at end of file