[PATCH] D108408: [InstCombine] Transform X == 0 ? 0 : X * Y --> X * freeze(Y).

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 15:02:20 PDT 2021


lebedev.ri added a comment.

1. what's wrong with vectors?
2. can't we preserve no-wrap flags?
3. for vectors, what if some element is not zero but undef? (see ` Constant::mergeUndefsWith()`)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108408



More information about the llvm-commits mailing list