[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:27:07 PDT 2017


aprantl added inline comments.


================
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) {
----------------
aprantl wrote:
> This test also passes when opt is symlinked to /bin/— can you add a positive check, too?
I meant to say ... to /bin/true.


https://reviews.llvm.org/D36778





More information about the llvm-commits mailing list