Skip to content
Commit 272d5ca9 authored by Chris Lattner's avatar Chris Lattner
Browse files

Implement X / C1 / C2 folding

Implement (setcc (shl X, C1), C2) folding.

The second one occurs several dozen times in spec.  The first was added
just in case.  :)

These are tested by shift.ll:test2[12], and div.ll:test5

llvm-svn: 16549
parent cbd7a98c
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