[PATCH] D84250: [InstSimplify] ExpandBinOp should fold an expression only when it's safe

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 09:11:49 PDT 2020


nikic added a comment.

Assuming D84792 <https://reviews.llvm.org/D84792> lands, would performing the two SimplifyBinOp queries for L and R with CanUseUndef=false solve this problem as well? I would prefer that if it works.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84250



More information about the llvm-commits mailing list