[PATCH] D37018: [GISel]: Legalize G_PHIs

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 14:27:54 PDT 2017


qcolombet added a comment.

I miss these test cases:

- Add a test case with def feeding into two different phis:
  - In the same destination block
  - In different basic block (one on the true branch, one on the false branch)

In other words:
bb1:
def =
...
bb2:
... = phi def
... = phi def

and
def = 
...
condbr bb2, b33
bb2
... = phi def
bb3
... = phi def


https://reviews.llvm.org/D37018





More information about the llvm-commits mailing list