Skip to content
Commit 7fd5f074 authored by Chris Lattner's avatar Chris Lattner
Browse files

Implement InstCombine/sub.ll:test15: X % -Y === X % Y

Also, remove X % -1 = 0, because it's not true for unsigneds, and the
signed case is superceeded by this new handling.

llvm-svn: 14637
parent 2c9fdbe6
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