[PATCH] D143511: [CodeGen] Add standard print/debug utilities to MVT
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 7 10:35:22 PST 2023
reames added inline comments.
================
Comment at: llvm/lib/CodeGen/ValueTypes.cpp:620
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+void MVT::dump() const {
+ print(dbgs());
----------------
craig.topper wrote:
> Is this a library layering issue?
Yes, but not a new one. MVT::getVT is defined a couple lines above, so if that links, so should this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143511/new/
https://reviews.llvm.org/D143511
More information about the llvm-commits
mailing list