Skip to content
Commit d34af6f6 authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Teach combineExtSetcc to handle ZERO_EXTEND by widening the setcc and...

[X86] Teach combineExtSetcc to handle ZERO_EXTEND by widening the setcc and then masking. A later DAG combine will convert to a shift.

This helps to avoid a constant pool load needed to zero extend from the mask.

llvm-svn: 324804
parent 4f0f426d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment