[PATCH] D32241: Don't process debug intrinsics in InstCombine

Dmitry Mikulin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 14:14:25 PDT 2017


dmikulin added a comment.

That's the patch, 1 line. This added visitor function will intercept @llvm.declare and @llvm.value calls and ignore them.

I looked into adding a test case. There is no visible trace of processing these nodes other than -debug output, which in instcombine case dump all nodes before they are being processed. So there's still a trace like "Visiting call @llvm.dbg.value" eve though the visitor routine ignores it.


https://reviews.llvm.org/D32241





More information about the llvm-commits mailing list