[PATCH] D83360: [InstSimplify] Remove select ?, undef, X -> X and select ?, X, undef -> X

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 8 13:15:14 PDT 2020


craig.topper added a comment.

In D83360#2139933 <https://reviews.llvm.org/D83360#2139933>, @efriedma wrote:

> Please also add testcases with select constant expressions, to test constant folding.


Should we remove the handling from llvm::ConstantFoldSelectInstruction


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83360





More information about the cfe-commits mailing list