[NFC][CodeGen] Add negative test for X u% C == 0 fold (D63391)
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 27 Jun 2019 19:09:51 +0000 (19:09 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 27 Jun 2019 19:09:51 +0000 (19:09 +0000)
commitbd34e50cf0a908c6fe36a5a327281fb292fb1cfc
tree29ec3e3b126c9a48580d46209988d212bad749ee
parentc5486b23bc7268b39149a3790d557ab82f382ee5
[NFC][CodeGen] Add negative test for X u% C == 0 fold (D63391)

The fold (D63391) uses multiplicativeInverse(),
but it is not guaranteed to always succeed,
and '100' appears to be one of the problematic values.

llvm-svn: 364578
llvm/test/CodeGen/AArch64/urem-seteq-vec-nonsplat.ll
llvm/test/CodeGen/AArch64/urem-seteq.ll
llvm/test/CodeGen/X86/urem-seteq-vec-nonsplat.ll
llvm/test/CodeGen/X86/urem-seteq.ll