EricWF marked 2 inline comments as done.
EricWF added inline comments.

================
Comment at: test/CodeGenCoroutines/coro-await.cpp:310
+  int& x = co_await a;
+  // CHECK: await2.ready:
+  // CHECK-NEXT: %[[RES2:.+]] = call dereferenceable(4) i32* 
@_ZN24AwaitResumeReturnsLValue12await_resumeEv(%struct.AwaitResumeReturnsLValue*
 %ref.tmp{{.+}})
----------------
GorNishanov wrote:
> In release compiler, labels won't have friendly names. //CHECK: await2.ready 
> will fail
I'm not sure I understand. Are you saying that Clang generates different IR 
depending on how it's built (ie release vs debug)? 


https://reviews.llvm.org/D34194



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to