[PATCH] D47139: [NaryReassociate] Detect deleted instr with WeakTrackingVH

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 11:38:32 PDT 2018


tra added a comment.

@sanjoy is more familiar with this, so I've asked him to take a look.



================
Comment at: test/Transforms/NaryReassociate/pr37539.ll:9
+; CHECK-NEXT:    br label [[BB1:%.*]]
+; CHECK:       bb1:
+; CHECK-NEXT:    [[P1:%.*]] = phi i16 [ 0, [[TMP0:%.*]] ], [ [[A1:%.*]], [[BB1]] ]
----------------
You may want to replace it with `CHECK: [[BB1]]`
Same for BB7 below.


Repository:
  rL LLVM

https://reviews.llvm.org/D47139





More information about the llvm-commits mailing list