[PATCH] D38566: [SimplifyCFG] don't sink common insts too soon (PR34603)

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 12:18:29 PST 2017


davide added a comment.

In https://reviews.llvm.org/D38566#926488, @craig.topper wrote:

> One issue with the struct approach. Suppose I opt-bisect to a failure caused by one of these simplifyCFG passes. How do I invoke that specific version of simplifycfg from opt to debug it or even produce a reduced test case.


You need to remember the (now) 4, and possibly more flags and try all the combinations (at least this is what I did when I bisected https://bugs.llvm.org/show_bug.cgi?id=35246).
It's a little inconvenient, to put it lightly. That very  same bug shows that several part of SimplifyCFG don't play nice with each other, FWIW.


https://reviews.llvm.org/D38566





More information about the llvm-commits mailing list