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

[DAGCombiners] Don't turn ANDs to shuffles with zero so early. Give some other...

[DAGCombiners] Don't turn ANDs to shuffles with zero so early. Give some other combines a chance to run.

This moves the combine for turning ANDs into shuffle with zero out of SimplifyVBinOps and places it only in visitAND below the reassociate handling. This fixes the specific case I noticed where we failed to combine two ands with constants.

llvm-svn: 321417
parent 2e308a9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment