[PATCH] D49365: [InstrSimplify] add testcases for fold sdiv if two operands are negatived and non-overflow

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 02:07:28 PDT 2018


shchenz added a comment.

sub instruction to shift instruction for negation operands transformation is already done is trunk. Maybe we need to do some code refactor to let subsimplify function also call isKnownNegation().


https://reviews.llvm.org/D49365





More information about the llvm-commits mailing list