[PATCH] D46100: WIP: [IR/Verifier] Diagnose use-before-def scenarios for debug intrinsics

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 11:21:51 PDT 2018


vsk added a comment.

In https://reviews.llvm.org/D46100#1079823, @mattd wrote:

> Thanks for this @vsk .  This definitely makes sense from a correctness standpoint.  I'm curious how frequent this case occurse; hopefully never?


The assertion fires 41,135 times during a stage2 -O3 -g build of clang. It will take some time to root-cause and address the issues. We might consider landing some version of this check gated by an off-by-default cl::opt, so that we can investigate in parallel.


https://reviews.llvm.org/D46100





More information about the llvm-commits mailing list