[PATCH] D99674: [InstCombine] Conditionally fold select i1 into and/or

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 06:24:28 PDT 2021


nikic added a comment.

@spatel These are important canonicalization transforms, that allow us to treat logical and/or the same way as and/or in many other passes. There is shouldAvoidAbsorbingNotIntoSelect() to guard against infinite loops, and probably it needs to be applied in more places.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99674



More information about the llvm-commits mailing list