[Mlir-commits] [mlir] [mlir][Transforms][NFC] Improve listener layering in dialect conversion (PR #80825)

Mehdi Amini llvmlistbot at llvm.org
Tue Feb 6 16:24:03 PST 2024


================
@@ -582,7 +582,8 @@ class AwaitOpLoweringBase : public OpConversionPattern<AwaitType> {
     // Inside regular functions we use the blocking wait operation to wait for
     // the async object (token, value or group) to become available.
     if (!isInCoroutine) {
-      ImplicitLocOpBuilder builder(loc, op, &rewriter);
+      ImplicitLocOpBuilder builder(loc, rewriter);
+      builder.setInsertionPoint(op);
----------------
joker-eph wrote:

Why this change?

https://github.com/llvm/llvm-project/pull/80825


More information about the Mlir-commits mailing list