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

Optimize "icmp pred (urem X, Y), Y" --> true/false depending on pred. There's

more work to do here, "icmp ult (urem X, 10), 11" doesn't optimize away yet.
Fixes example 3 from PR9343!

llvm-svn: 126741
parent d95a8129
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