[PATCH] D51919: [CallSiteSplitting] Add debug location to created PHI nodes.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 11 09:22:33 PDT 2018


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll:26
+; CHECK-NEXT:  [[R2:%.+]] = call i32 @callee(i32 0, i32 %i), !dbg [[DBG_CALL]]
+; CHECK:  phi i32 [ [[LV1]], %Header.split ], [ [[LV2]], %TBB.split ], !dbg [[DBG_LV]]
+; CHECK:  phi i32 [ [[R1]], %Header.split ], [ [[R2]], %TBB.split ], !dbg [[DBG_CALL]]
----------------
junbuml wrote:
> It would be good to add CHECK-LABEL for the TailBB before this. 
Excellent suggestion, done!


https://reviews.llvm.org/D51919





More information about the llvm-commits mailing list