AmrDeveloper wrote:

Note:

Found this problem when working on PoC of cleanup scope, without this fix, 
ClangIR will compile this code and produce wrong IR with no NYI 

```
struct S {
  ~S();
};

void f();
void g() {
  S s1;
  f();
  S s2;
  f();
}
```

After this fix, it will trigger NYI in emitCallLikeOp

https://github.com/llvm/llvm-project/pull/179137
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to