Skip to content
Commit d5f5777b authored by Nadav Rotem's avatar Nadav Rotem
Browse files

It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),

because C always rounds towards zero.

Thanks Dirk and Ben.

llvm-svn: 162899
parent ca9f384f
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