Skip to content
Commit 6b915d33 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[DAGCombiner] Generalize (or (and X, c1), c2) -> (and (or X, c2), c1|c2)...

[DAGCombiner] Generalize (or (and X, c1), c2) -> (and (or X, c2), c1|c2) combine to work on non-splat vectors

The knownbits_mask_or_shuffle_uitofp change is interesting - shuffle combines manage to kick in, removing the AND constant mask load. For targets with fast-variable-shuffle this should reduce further to VPOR+VPSHUFB+VCVTDQ2PS.

llvm-svn: 321279
parent 4707709d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment