[PATCH] D93065: [InstCombine] Disable optimizations of select instructions that causes propagation of poison values

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 12 01:17:46 PST 2020


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

This will require other parts of the compiler (especially anything dealing with and/or'd branch conditions, like SCEV, LVI, ValueTracking etc) to understand this new form of and/or first. I don't think most optimizations care about whether and/or is poison-blocking or not, but they need to recognize the select form if we don't canonicalize.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93065/new/

https://reviews.llvm.org/D93065



More information about the llvm-commits mailing list