[PATCH] D48376: DAG: Fold out selects with an undef operand

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 20 12:27:59 PDT 2018


kparzysz accepted this revision.
kparzysz added a comment.
This revision is now accepted and ready to land.

The testcase was looking for two conditional assignments, both based on the same predicate register, but with one condition "if-true" and the other "if-false".  The original bug was that the "kill" flag on the condition register wasn't cleared on the first assignment and so it was killed before the second conditional assignment (causing a verifier error).  I just replaced this testcase with a .mir version, so it's no longer there.


https://reviews.llvm.org/D48376





More information about the llvm-commits mailing list