[PATCH] D29254: Do not propagate DebugLoc across basic blocks

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 28 15:54:07 PST 2017


davide added inline comments.


================
Comment at: test/Transforms/GVN/debugloc.ll:1-6
+; RUN: opt < %s -gvn -S | FileCheck %s
+; CHECK: {{^}}for.body:
+; CHECK-NEXT: phi
+; CHECK-NOT: !dbg
+; CHECK-SAME: {{$}}
+
----------------
Can you please add the same test to NewGVN (and XFAIL for now)


https://reviews.llvm.org/D29254





More information about the llvm-commits mailing list