[PATCH] D36778: Merge debug info when hoist then-else code to if.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 18:26:40 PDT 2017
aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.
LGTM with an improved testcase.
================
Comment at: test/Transforms/SimplifyCFG/min_dbginfo.ll:4
+; Checks if the debug info is removed for the "select" instruction.
+; CHECK-NOT: select {{.*}} !dbg
+define i32 @min(i32 %a, i32 %b) {
----------------
This test also passes when opt is symlinked to /bin/— can you add a positive check, too?
https://reviews.llvm.org/D36778
More information about the llvm-commits
mailing list