[llvm-dev] The select story

Juneyoung Lee via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 4 06:19:20 PDT 2021


Hello all,

In early 2021, a transformation in InstCombine that folds 'select i1 %a, i1
%b, i1 false' to 'and i1 %a, %b' (and another one for the 'or' case as
well) was removed because the folding was incorrect.

To explain the background about this change and a series of patches that
were made, I wrote a blog post:
https://aqjune.github.io/posts/2021-10-4.the-select-story.html

I appreciate many people who helped fix it! :)

Sincerely,
Juneyoung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211004/2cf1b924/attachment.html>


More information about the llvm-dev mailing list