Skip to content
Commit c197732e authored by Roman Lebedev's avatar Roman Lebedev
Browse files

[NFC][X86][AArch64] Revisit test coverage for X s% C == 0 fold - add tests for...

[NFC][X86][AArch64] Revisit test coverage for X s% C == 0 fold - add tests for negative divisors, INT_MIN divisors

As discussed in the review, that fold is only valid for positive
divisors, so while we can negate negative divisors,
we have to special-case INT_MIN.

llvm-svn: 367294
parent 58aa6a87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment