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

[DAGCombiner] Add general constant vector support to (shl (add x, c1), c2) ->...

[DAGCombiner] Add general constant vector support to (shl (add x, c1), c2) -> (add (shl x, c2), c1 << c2)

We already supported scalar constant / splatted constant vector - now accepts any (non opaque) constant scalar / vector

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