HomePhabricator

[NFC][testcases] add testcases for folding srem whose operands are negatived.

Authored by shchenz on Jul 17 2018, 5:31 AM.

Description

[NFC][testcases] add testcases for folding srem whose operands are negatived.

Finish same optimization for add instruction in D49216 and sdiv instruction in
D49382. This patch is for srem instruction.

llvm-svn: 337270

Details

Committed
shchenzJul 17 2018, 5:31 AM
Parents
rG7f457d79ec3e: Don't assert that a size_t fits into 64bit.
Branches
Unknown
Tags
Unknown