Skip to content
Commit 6b445419 authored by Nick Lewycky's avatar Nick Lewycky
Browse files

The sign of an srem instruction is the sign of its dividend (the first

argument), regardless of the divisor. Teach instcombine about this and fix
test7 in PR9343!

llvm-svn: 126635
parent 8fbf64f4
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