[PATCH] D151631: [InstSimplify] Simplify select i1 ConstExpr, i1 true, i1 false to ConstExpr

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 29 00:08:59 PDT 2023


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

LGTM



================
Comment at: llvm/test/Transforms/InstSimplify/select.ll:892
 
 ; Negative tests. Don't fold if the non-undef operand is a constexpr.
 define i32 @all_constant_false_undef_true_constexpr() {
----------------
Outdated comments are still there.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151631



More information about the llvm-commits mailing list