[Mlir-commits] [llvm] [mlir] [MLIR] Adopt LDBG() in EliminateBarriers.cpp (NFC) (PR #155092)
Mehdi Amini
llvmlistbot at llvm.org
Mon Aug 25 10:30:42 PDT 2025
================
@@ -424,27 +422,18 @@ static bool maybeCaptured(Value v) {
/// everything. This seems sufficient to achieve barrier removal in structured
/// control flow, more complex cases would require a proper dataflow analysis.
static bool mayAlias(Value first, Value second) {
- DEBUG_WITH_TYPE(DEBUG_TYPE_ALIAS, {
- DBGS_ALIAS() << "checking aliasing between ";
- DBGS_ALIAS() << first << "\n";
- DBGS_ALIAS() << " and ";
- DBGS_ALIAS() << second << "\n";
- });
+ LDBG(1, DEBUG_TYPE_ALIAS)
----------------
joker-eph wrote:
OK it's done, PTAL :)
https://github.com/llvm/llvm-project/pull/155092
More information about the Mlir-commits
mailing list