Skip to content
Commit a3e3699c authored by Duncan Sands's avatar Duncan Sands
Browse files

Move some rem transforms out of instcombine and into instsimplify.

This automagically provides a transform noticed by my super-optimizer
as occurring quite often: "rem x, (select cond, x, 1)" -> 0.

llvm-svn: 130694
parent 5164e6e8
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