Skip to content
Commit 23df4e4a authored by Andrea Di Biagio's avatar Andrea Di Biagio
Browse files

Teach the DAGCombiner how to fold 'vselect' dag nodes according

to the following two rules:
  1) fold (vselect (build_vector AllOnes), A, B) -> A
  2) fold (vselect (build_vector AllZeros), A, B) -> B

llvm-svn: 198777
parent 2210624d
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