[PATCH] D130426: [CodeGen] Fixed ambiguous symbol ExtAddrMode in case of NDEBUG and LLVM_ENABLE_DUMP
Dmitry Vassiliev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 23 11:49:31 PDT 2022
slydiman updated this revision to Diff 447095.
slydiman retitled this revision from "[CodeGen] Fixed ambiguous symbol `ExtAddrMode` in case of NDEBUG and LLVM_ENABLE_DUMP" to "[CodeGen] Fixed ambiguous symbol ExtAddrMode in case of NDEBUG and LLVM_ENABLE_DUMP".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130426/new/
https://reviews.llvm.org/D130426
Files:
llvm/lib/CodeGen/CodeGenPrepare.cpp
Index: llvm/lib/CodeGen/CodeGenPrepare.cpp
===================================================================
--- llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -2568,8 +2568,6 @@
}
};
-} // end anonymous namespace
-
#ifndef NDEBUG
static inline raw_ostream &operator<<(raw_ostream &OS, const ExtAddrMode &AM) {
AM.print(OS);
@@ -2617,6 +2615,8 @@
}
#endif
+} // end anonymous namespace
+
namespace {
/// This class provides transaction based operation on the IR.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130426.447095.patch
Type: text/x-patch
Size: 516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220723/0b5b1c2d/attachment.bin>
More information about the llvm-commits
mailing list