https://github.com/efriedma-quic commented:

There's a comment in CodeGenFunction::EmitReturnBlock that says:

```
  // FIXME: We are at an unreachable point, there is no reason to emit the block
  // unless it has uses. However, we still need a place to put the debug
  // region.end for now.
```

Is that out of date?

----

Note that for most functions, we actually emit the return block, then erase it 
if it's unused. (See the end of CodeGenFunction::FinishFunction).

https://github.com/llvm/llvm-project/pull/134282
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to