NeKon69 wrote:

Also I think you should add your own unit tests for multi block origin 
traversal and lit tests. E.g.:
```cpp
void f(bool c1, bool c2) {
  int tgt1, tgt2, tgt3;
  int *a = &tgt1;
  int *b = &tgt2;
  int *c = &tgt3;
  int *p;
  if (c1) {
    if (c2) {
      p = a;
    } else {
      p = b;
  } else {
    p = c;
  }
  POINT(after_nested_merge);
  (void)*p;
}

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

Reply via email to