Skip to content
Commit d59e5a7a authored by Nate Begeman's avatar Nate Begeman
Browse files

Relax the checking on zextload generation a bit, since as sabre pointed out

you could be AND'ing with the result of a shift that shifts out all the
bits you care about, in addition to a constant.

Also, move over an add/sub_parts fold from legalize to the dag combiner,
where it works for things other than constants.  Woot!

llvm-svn: 23720
parent a6d62322
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